Fix UI -> Settings conversion
Add a "test" for ListPreference