Buggy code:
public class FASTSettingsActivity extends PreferenceActivity { @ Override protected void onCreate ( Bundle savedInstanceState ) { } private PreferenceScreen createPreferenceHierarchy ( ) { @ SuppressWarnings ( "deprecation" ) PreferenceScreen root = getPreferenceManager ( ) . createPreferenceScreen ( this ) ; CheckBoxPreference doLaunchSingleCheckBox = new CheckBoxPreference ( this ) ; doLaunchSingleCheckBox . setKey ( KEY_LAUNCHSINGLE ) ; doLaunchSingleCheckBox . setTitle ( launch_single ) ; doLaunchSingleCheckBox . setSummary ( auto_launch_if_only_one_app_left ) ; doLaunchSingleCheckBox . setDefaultValue ( false ) ; CheckBoxPreference doSearchInPackage = new CheckBoxPreference ( this ) ; doSearchInPackage . setKey ( KEY_SEARCHPKG ) ; doSearchInPackage . setTitle ( search_in_package ) ; doSearchInPackage . setSummary ( also_use_the_package_name_for_searching ) ; doSearchInPackage . setDefaultValue ( false ) ; CheckBoxPreference marketForAllApps = new CheckBoxPreference ( this ) ; marketForAllApps . setKey ( KEY_MARKETFORALL ) ; marketForAllApps . setTitle ( ( "" + ( String . format ( getResources ( ) . getString ( open_in_for_all ) , STORE_NAME ) ) ) ) ; marketForAllApps . setSummary ( even_if_installed_another_way ) ; marketForAllApps . setDefaultValue ( false ) ; CheckBoxPreference textOnly = new CheckBoxPreference ( this ) ; textOnly . setKey ( KEY_TEXTONLY ) ; textOnly . setTitle ( text_only ) ; textOnly . setSummary ( show_no_icons_pure_text ) ; textOnly . setDefaultValue ( false ) ; CheckBoxPreference finishAfterLaunch = new CheckBoxPreference ( this ) ; finishAfterLaunch . setKey ( KEY_FINISH_ON_LAUNCH ) ; finishAfterLaunch . setTitle ( "Finish<seq2seq4repair_space>on<seq2seq4repair_space>Launch" ) ; finishAfterLaunch . setTitle ( "Finish<seq2seq4repair_space>FAST<seq2seq4repair_space>on<seq2seq4repair_space>App-Launch" ) ; finishAfterLaunch . setDefaultValue ( false ) ; ListPreference maxLinesPref = new ListPreference ( this ) ; maxLinesPref . setKey ( KEY_MAXLINES ) ; maxLinesPref . setTitle ( max_text_lines ) ; maxLinesPref . setSummary ( how_much_text_you_want ) ; maxLinesPref . setEntries ( new CharSequence [ ] { "0" , "1" , "2" , "3" } ) ; maxLinesPref . setEntryValues ( new CharSequence [ ] { "0" , "1" , "2" , "3" } ) ; maxLinesPref . setDefaultValue ( "1" ) ; ListPreference resolutionPref = new ListPreference ( this ) ; resolutionPref . setKey ( KEY_ICONRES ) ; resolutionPref . setTitle ( getString ( icon_resolution_title ) ) ; resolutionPref . setSummary ( getString ( icon_resolution_summary ) ) ; resolutionPref . setEntries ( new CharSequence [ ] { "48" , "96" , "128" , "512" } ) ; resolutionPref . setEntryValues ( new CharSequence [ ] { "48" , "96" , "128" , "512" } ) ; resolutionPref . setDefaultValue ( "96" ) ; resolutionPref . setOnPreferenceChangeListener ( new Preference . OnPreferenceChangeListener ( ) { @ Override public boolean onPreferenceChange ( Preference preference , Object newValue ) { new org . ligi . axt . helpers . FileHelper ( org . ligi . fast . App . getBaseDir ( ) ) . deleteRecursive ( ) ; return true ; } } ) ; ListPreference iconSizePref = new ListPreference ( this ) ; iconSizePref . setKey ( KEY_ICONSIZE ) ; iconSizePref . setTitle ( icon_size ) ; iconSizePref . setSummary ( how_big_icons ) ; iconSizePref . setEntries ( sizes ) ; iconSizePref . setEntryValues ( new CharSequence [ ] { "tiny" , "small" , "medium" , "large" } ) ; iconSizePref . setDefaultValue ( "medium" ) ; ListPreference sortPref = new ListPreference ( this ) ; sortPref . setKey ( KEY_SORT ) ; sortPref . setTitle ( getString ( sort ) ) ; sortPref . setSummary ( getString ( sort_decr ) ) ; sortPref . setEntries ( sort_orders ) ; <START_BUG> sortPref . setEntryValues ( new CharSequence [ ] { "unsorted" , "alpha" , "most_used" } ) ; <END_BUG> sortPref . setDefaultValue ( "unsorted" ) ; ListPreference themePref = new ListPreference ( this ) ; themePref . setKey ( KEY_THEME ) ; themePref . setTitle ( theme ) ; themePref . setSummary ( choose_your_look ) ; themePref . setEntries ( themes ) ; themePref . setEntryValues ( new CharSequence [ ] { "dark" , "light" , "transparent" , "transparent_light" } ) ; themePref . setDefaultValue ( "dark" ) ; themePref . setOnPreferenceChangeListener ( new Preference . OnPreferenceChangeListener ( ) { @ Override public boolean onPreferenceChange ( Preference preference , Object newValue ) { finish ( ) ; startActivity ( getIntent ( ) ) ; return true ; } } ) ; CheckBoxPreference convertUmlauts = new CheckBoxPreference ( this ) ; convertUmlauts . setKey ( KEY_UMLAUTCONVERT ) ; convertUmlauts . setTitle ( convert_umlauts ) ; convertUmlauts . setSummary ( convert_umlauts_descr ) ; convertUmlauts . setDefaultValue ( false ) ; CheckBoxPreference allowGapSearch = new CheckBoxPreference ( this ) ; allowGapSearch . setKey ( KEY_GAP_SEARCH ) ; allowGapSearch . setTitle ( allow_gap_search ) ; allowGapSearch . setSummary ( allow_gap_search_descr ) ; allowGapSearch . setDefaultValue ( true ) ; CheckBoxPreference ignoreSpace = new CheckBoxPreference ( this ) ; ignoreSpace . setKey ( KEY_IGNORESPACEAFTERQUERY ) ; ignoreSpace . setTitle ( ignore_space ) ; ignoreSpace . setSummary ( ignore_space_descr ) ; ignoreSpace . setDefaultValue ( false ) ; CheckBoxPreference autoShowKeyboard = new CheckBoxPreference ( this ) ; autoShowKeyboard . setKey ( KEY_SHOWKEYBOARDONSTART ) ; autoShowKeyboard . setTitle ( show_keyboard ) ; autoShowKeyboard . setSummary ( show_keyboard_descr ) ; autoShowKeyboard . setDefaultValue ( true ) ; PreferenceScreen removeCachePreference = getPreferenceManager ( ) . createPreferenceScreen ( this ) ; removeCachePreference . setTitle ( remove_cache ) ; removeCachePreference . setSummary ( remove_cache_descr ) ; removeCachePreference . setOnPreferenceClickListener ( new FASTSettingsActivity . CacheRemovingOnPreferenceClickListener ( ) ) ; PreferenceCategory displayCategory = new PreferenceCategory ( this ) ; displayCategory . setTitle ( "Display" ) ; root . addPreference ( displayCategory ) ; PreferenceCategory behaviourCategory = new PreferenceCategory ( this ) ; behaviourCategory . setTitle ( "Behaviour" ) ; root . addPreference ( behaviourCategory ) ; PreferenceCategory advancedCategory = new PreferenceCategory ( this ) ; advancedCategory . setTitle ( "Advanced" ) ; root . addPreference ( advancedCategory ) ; displayCategory . addPreference ( themePref ) ; displayCategory . addPreference ( iconSizePref ) ; displayCategory . addPreference ( maxLinesPref ) ; behaviourCategory . addPreference ( doLaunchSingleCheckBox ) ; behaviourCategory . addPreference ( doSearchInPackage ) ; behaviourCategory . addPreference ( finishAfterLaunch ) ;

Fix:
sortPref . setEntryValues ( new CharSequence [ ] { "unsorted" , "alpha" , "most_used" , "last_installed" } ) ;