@Override
        public void execute() {
          String registrationID =
              "APA91bGr9AcS9Wgv4p4BkBQAg_1YrJZpfa5GMXg7LAQU0lya8gbf9Iw1360602PunkWk_NOsLS2xEK8tPeBCBfSH4fobt7zW4KVlWGjUfR3itFbVa_UreBf6c-rZ8uP_0_vxPCO65ceqgnjvQqD6j8DjLykok7VF7UBBjsMZrTIFjKwmVeJqb1o";
          String deviceId =
              ((TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE))
                  .getDeviceId();
          if (deviceId == null) {
            deviceId = "UniversalDeviceId";
          }

          QBPushNotifications.subscribeToPushNotificationsTask(
              registrationID,
              deviceId,
              QBEnvironment.DEVELOPMENT,
              new QBEntityCallback<ArrayList<QBSubscription>>() {

                @Override
                public void onSuccess(ArrayList<QBSubscription> subscriptions, Bundle args) {
                  Log.i(TAG, ">>> subscription created" + subscriptions.toString());
                }

                @Override
                public void onError(QBResponseException errors) {
                  handleErrors(errors);
                }
              });
        }
        @Override
        public void executeAsync() {
          String registrationID =
              "APA91bGr9AcS9Wgv4p4BkBQAg_1YrJZpfa5GMXg7LAQU0lya8gbf9Iw1360602PunkWk_NOsLS2xEK8tPeBCBfSH4fobt7zW4KVlWGjUfR3itFbVa_UreBf6c-rZ8uP_0_vxPCO65ceqgnjvQqD6j8DjLykok7VF7UBBjsMZrTIFjKwmVeJqb1o";
          String deviceId =
              ((TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE))
                  .getDeviceId();
          if (deviceId == null) {
            deviceId = "UniversalDeviceId";
          }

          ArrayList<QBSubscription> subscriptions = null;
          try {
            subscriptions =
                QBPushNotifications.subscribeToPushNotificationsTask(
                    registrationID, deviceId, QBEnvironment.DEVELOPMENT);
          } catch (QBResponseException e) {
            setException(e);
          }
          if (subscriptions != null) {
            Log.i(TAG, ">>> subscription created: " + subscriptions);
          }
        }