Program: 16987
Project: 16987
Buggy source:
@Override protected void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  context=this;
  addPreferencesFromResource(R.xml.settings);
  hideFilesFolders=(CheckBoxPreference)findPreference(getString(R.string.settings_hide_files_folders));
  hideFilesFolders.setOnPreferenceChangeListener(new OnPreferenceChangeListener(){
    @Override public boolean onPreferenceChange(    Preference preference,    Object newValue){
      SharedPreferences prefs=getSettings((ContextWrapper)context);
      Editor editor=prefs.edit();
      if (hideFilesFolders.isChecked()) {
        editor.putBoolean("String_Node_Str",false);
      }
 else {
        editor.putBoolean("String_Node_Str",true);
      }
      return editor.commit();
    }
  }
);
  releaseAccount=(Preference)findPreference(getString(R.string.settings_release_account));
  releaseAccount.setOnPreferenceClickListener(new OnPreferenceClickListener(){
    @Override public boolean onPreferenceClick(    Preference preference){
      AlertDialog.Builder builder=new AlertDialog.Builder(context);
      builder.setMessage(getString(R.string.release_account_hint)).setTitle(getString(R.string.are_you_sure)).setCancelable(false).setPositiveButton(getString(R.string.release),new DialogInterface.OnClickListener(){
        @Override public void onClick(        DialogInterface dialog,        int which){
          SharedPreferences prefs=SettingsActivity.getSettings((ContextWrapper)context);
          Editor editor=prefs.edit();
          editor.remove("String_Node_Str");
          editor.remove("String_Node_Str");
          editor.commit();
        }
      }
).setNegativeButton(getString(R.string.cancel),new DialogInterface.OnClickListener(){
        @Override public void onClick(        DialogInterface dialog,        int which){
          dialog.dismiss();
        }
      }
);
      AlertDialog alert=builder.create();
      alert.show();
      return true;
    }
  }
);
}

Fixed version (ground truth):
@Override protected void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  context=this;
  addPreferencesFromResource(R.xml.settings);
  hideFilesFolders=(CheckBoxPreference)findPreference(getString(R.string.settings_hide_files_folders));
  hideFilesFolders.setOnPreferenceChangeListener(new OnPreferenceChangeListener(){
    @Override public boolean onPreferenceChange(    Preference preference,    Object newValue){
      SharedPreferences prefs=getSettings((ContextWrapper)context);
      Editor editor=prefs.edit();
      if (hideFilesFolders.isChecked()) {
        editor.putBoolean("String_Node_Str",true);
      }
 else {
        editor.putBoolean("String_Node_Str",false);
      }
      return editor.commit();
    }
  }
);
  releaseAccount=(Preference)findPreference(getString(R.string.settings_release_account));
  releaseAccount.setOnPreferenceClickListener(new OnPreferenceClickListener(){
    @Override public boolean onPreferenceClick(    Preference preference){
      AlertDialog.Builder builder=new AlertDialog.Builder(context);
      builder.setMessage(getString(R.string.release_account_hint)).setTitle(getString(R.string.are_you_sure)).setCancelable(false).setPositiveButton(getString(R.string.release),new DialogInterface.OnClickListener(){
        @Override public void onClick(        DialogInterface dialog,        int which){
          SharedPreferences prefs=SettingsActivity.getSettings((ContextWrapper)context);
          Editor editor=prefs.edit();
          editor.remove("String_Node_Str");
          editor.remove("String_Node_Str");
          editor.commit();
        }
      }
).setNegativeButton(getString(R.string.cancel),new DialogInterface.OnClickListener(){
        @Override public void onClick(        DialogInterface dialog,        int which){
          dialog.dismiss();
        }
      }
);
      AlertDialog alert=builder.create();
      alert.show();
      return true;
    }
  }
);
}