fixing bug in removeLocation's localStorage removal of location