Preferences definition & UI: prefs.xml resource & PrefsActivity.