Refactor the map button to find the current position.