Added in logic to toggle the click listener on the pin view button depending on which main view you're on (either the saved map or main view).