fixes returning to map on click of notification

Fixes the exit button not working on occasion.