Moved onNotificationGCM to inside registerPushNotification.