Rename global delete function to 'removeLocation' and create local delete functions in list and view controllers