@Override
 public void executeAsync() {
   try {
     QBPushNotifications.deleteSubscription(1558628);
     Log.i(TAG, ">>> subscription successfully deleted");
   } catch (QBResponseException e) {
     setException(e);
   }
 }
        @Override
        public void execute() {
          QBPushNotifications.deleteSubscription(
              1558628,
              new QBEntityCallback<Void>() {

                @Override
                public void onSuccess(Void result, Bundle bundle) {
                  Log.i(TAG, ">>> subscription successfully deleted");
                }

                @Override
                public void onError(QBResponseException errors) {
                  handleErrors(errors);
                }
              });
        }