Added a location listener to ensure that the location is kept current.