Adding registerPushNotificationHandler method