notificatoin_icon: Make toggling visibility more reliable

Fixes #127