Added default location preference option and a listener for preference
changes that updates the text fields whena  preference is changed.