@Override
  public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    getSupportActionBar().setDisplayHomeAsUpEnabled(true);

    // Load the raw preferences to show in this screen
    init(
        R.xml.pref_seedbox_seedstuff,
        SeedboxProvider.Seedstuff.getSettings()
            .getMaxSeedboxOrder(PreferenceManager.getDefaultSharedPreferences(this)));
    initTextPreference("seedbox_seedstuff_name");
    initTextPreference("seedbox_seedstuff_server");
    initTextPreference("seedbox_seedstuff_user");
    initTextPreference("seedbox_seedstuff_pass");
  }
 @OptionsItem(resName = "action_removesettings")
 protected void removeSettings() {
   SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
   SeedboxProvider.Seedstuff.getSettings().removeServerSetting(prefs, key);
   finish();
 }