<NME> PreferenceServiceTwitterFragment.java
<BEF> package cgeo.geocaching.settings.fragments;

import cgeo.geocaching.R;

import android.os.Bundle;


import androidx.preference.PreferenceFragmentCompat;

    @Override
    public void onCreatePreferences(Bundle savedInstanceState, String rootKey) {
        setPreferencesFromResource(R.xml.preferences_services_twitter, rootKey);
    }
}

        // Update authentication preference
        SettingsUtils.setAuthTitle(this, R.string.pref_fakekey_twitter_authorization, Settings.isTwitterLoginValid());
    }
}

<MSG> Readd multiple functionallities

This commit was sadly not correctly splitted. It does the following things at
once:

- Readds strings for the preferences
- Readds Java code from the splitup

<DFF> @@ -1,6 +1,7 @@
 package cgeo.geocaching.settings.fragments;
 
 import cgeo.geocaching.R;
+import cgeo.geocaching.settings.Settings;
 
 import android.os.Bundle;
 
@@ -10,5 +11,10 @@ public class PreferenceServiceTwitterFragment extends PreferenceFragmentCompat {
     @Override
     public void onCreatePreferences(Bundle savedInstanceState, String rootKey) {
         setPreferencesFromResource(R.xml.preferences_services_twitter, rootKey);
+
+        findPreference(getString(R.string.pref_fakekey_twitter_authorization))
+            .setTitle(getString(Settings.isTwitterLoginValid()
+                ? R.string.settings_reauthorize
+                : R.string.settings_authorize));
     }
 }

Readd multiple functionallities