Correctly hide icon in status bar