I found a solution to my problem, but it still does not answer my question. I had to change the line:
PreferenceManager.setDefaultValues(this, R.xml.preferences, false);
at
PreferenceManager.setDefaultValues(this, R.xml.preferences, true);
As the docs say, the readAgain installation should not overwrite any existing preference values:
"Note: this does NOT reset preferences to revert to default values."
"" , , "false", XML , KEY_HAS_SET_DEFAULT_VALUES, ( true) ( , ).
- , , !