Add distance preference. Refresh fragment when page changes if preference has changed.