Implemented PushNotificationDeviceHandler into APNservice and fixed tuple typo.