added listPreference to choose the temperature unit