public void saveAccount(PreyAccountData accountData) {
    PreyConfig.deleteCacheInstance();
    this.saveSimInformation();
    SharedPreferences settings = PreferenceManager.getDefaultSharedPreferences(ctx);
    SharedPreferences.Editor editor = settings.edit();
    editor.putString(PreyConfig.PREFS_DEVICE_ID, accountData.getDeviceId());
    editor.putString(PreyConfig.PREFS_API_KEY, accountData.getApiKey());
    editor.putString(PreyConfig.PREFS_EMAIL, accountData.getEmail());
    editor.putString(
        PreyConfig.PREFS_IS_MISSING, Boolean.valueOf(accountData.isMissing()).toString());

    editor.commit();
  }
  public void saveAccount(PreyAccountData accountData) {
    PreyConfig.deleteCacheInstance();
    this.saveSimInformation();
    SharedPreferences settings = PreferenceManager.getDefaultSharedPreferences(ctx);
    SharedPreferences.Editor editor = settings.edit();
    editor.putString(PreyConfig.PREFS_DEVICE_ID, accountData.getDeviceId());
    editor.putString(PreyConfig.PREFS_API_KEY, accountData.getApiKey());
    editor.putString(PreyConfig.PREFS_LOGIN, accountData.getLogin());
    // editor.putString(PreyConfig.PREFS_PASSWORD, accountData.getPassword());
    editor.putString(PreyConfig.PREFS_EMAIL, accountData.getEmail());
    // editor.putString(PreyConfig.PREFS_PREY_VERSION, accountData.getPreyVersion());
    editor.putString(PreyConfig.PREFS_IS_MISSING, new Boolean(accountData.isMissing()).toString());

    editor.commit();
  }