I have a method in my class that opens a map when given an address string. Trying to show an alert in a view by toggling a boolean. I can\'t figure out how to toggle the boolean