Fixed a bug about push notifications.