Adds automatic save upon clicking on location