rename preference string : add pref_ suffix
add Preferences for updating location (distance/time)
improve indenting
update time is expressed in milliseconds