restructuring so lat and long is stored in sharedPreferences