Breaking the location lat/long save functions into their own function.