change 'back' button function on map