Implemented addNotificationListener