add preferences for location setting