getPreferenceFromServer