private void storeRegistration(Context context, Bundle registration) {
    PrefsHelper prefsHelper = PrefsHelper.getPrefsHelper();
    int appVersion = Utils.getAppVersionCode(context);
    prefsHelper.savePref(PrefsHelper.PREF_REG_ID, registration.getString(PrefsHelper.PREF_REG_ID));
    QBUser user = AppSession.getSession().getUser();
    if (user != null) {
      prefsHelper.savePref(PrefsHelper.PREF_REG_USER_ID, user.getId());
    }

    prefsHelper.savePref(
        PrefsHelper.PREF_IS_SUBSCRIBED_ON_SERVER,
        registration.getBoolean(PrefsHelper.PREF_IS_SUBSCRIBED_ON_SERVER, false));
    prefsHelper.savePref(PrefsHelper.PREF_APP_VERSION, appVersion);
  }
 private void saveUserLearnedDrawer() {
   PrefsHelper.getPrefsHelper().savePref(PrefsHelper.PREF_USER_LEARNED_DRAWER, true);
 }
 private void initPrefValues() {
   PrefsHelper prefsHelper = PrefsHelper.getPrefsHelper();
   userLearnedDrawer = prefsHelper.getPref(PrefsHelper.PREF_USER_LEARNED_DRAWER, false);
 }