Notification is not functioning properly