 
     fileprivate var mapView: MKMapView!
     fileprivate var pointAnnotation: MKPointAnnotation!
-    fileprivate var currentButton: UIBarButtonItem!
+    fileprivate var userTrackingButton: MKUserTrackingBarButtonItem!
 
     fileprivate let locationManager: CLLocationManager = CLLocationManager()
 

                                             action: #selector(LocationPickerController.didTapDoneButton))
        self.navigationItem.rightBarButtonItem = doneButtonItem

        self.currentButton = UIBarButtonItem(barButtonHiddenItem: .locate,
                                             target: self,
                                             action: #selector(LocationPickerController.didTapCurrentButton))
        self.currentButton.isEnabled = false
        self.toolbarItems = [self.currentButton]
        self.navigationController?.isToolbarHidden = false

        self.locationManager.delegate = self


        self.dismiss(animated: true, completion: nil)
    }
}

// MARK: - MKMapView delegate

extension LocationPickerController: MKMapViewDelegate {

    public func mapView(_ mapView: MKMapView, regionDidChangeAnimated animated: Bool) {
        guard self.isInitialized else {
            return
