         locationManager = CLLocationManager()
         locationManager.delegate = self
 
-        revealSelectedPlacemark()
+        DispatchQueue.main.async(execute: revealSelectedPlacemark)
 
         let status = CLLocationManager.authorizationStatus()
         switch status {

    }

    open func mapView(_ mapView: MKMapView, regionDidChangeAnimated animated: Bool) {
        performDeferredSelection(animated: animated)
    }

}

    fileprivate var preparedSearchQuery: String {
        return searchController.searchBar.text?.trimmingCharacters(in: .whitespaces) ?? ""
    }
    fileprivate var previousVisibleRect: MKMapRect?
    fileprivate var removableAnnotations: [MKAnnotation] {
        return mapView.annotations.filter(isNonSelectedPlacemark)
    }
