Fixed a bug in push-notification-client.