fixed the bug which was crashing the when clicking on the notification bar