added check control for notifation bar