         case Section.CurrentLocation.rawValue:
             return 1
         case Section.UserPickedLocation.rawValue:
-            return (userPickedLocationPin == nil ? 0 : 1)
+            return (pickedLocationCoordinate == nil ? 0 : 1)
         case Section.Placemarks.rawValue:
             return placemarks.count
         case Section.SearchedLocation.rawValue:


        case Section.CurrentLocation.rawValue:
            if let location = mapView.userLocation.location {
                pickedLocationCoordinate = location.coordinate
            }

        case Section.UserPickedLocation.rawValue:

        }
    }

    var selectedLocationCoordinate: CLLocationCoordinate2D? {
        willSet {
            if let coordinate = newValue {
                updateUserPickedLocationPinWithCoordinate(coordinate)
            }
        }
    }

    override func viewDidLoad() {
        super.viewDidLoad()

