fixed problem in notifications where there was a problem in showing notification when no permissions existed