Added error catching to PushNotificationService for debugging