This image shows to define the attributes used for the List Preference.