Various bug fixes and improvments

* Fixed notifications not being dismissed
* Counter now updates after closing tab
* Install prompt now is hidden when the app is installed