fix: notification error on pin/unpin
fix: notification error on pin/unpin

- closes #338
- as a side-effect may improve situation with #318

lidel/ipfs-firefox-addon,lidel/ipfs-firefox-addon,lidel/ipfs-firefox-addon