         }
         
         set(newValue) {
+            
             UserPreferences.instance.useMyLocation = newValue
             useMyLocationSwitch.isOn = newValue
         }

    @IBOutlet weak var zipCodeButton: CustomButtonView!
    @IBOutlet weak var zipCodeLabel: UILabel!
    
    
    var currentCoordinates: CLLocationCoordinate2D?
    
    var showFarmersMarkets: Bool {

        set(newValue) {
            
            UserPreferences.instance.useZipCode = newValue
            useZipCodeSwitch.isOn = newValue
            
        }
    }
    
    var zipCode: String {
        
        get {
            
            return UserPreferences.instance.zipCode!
        }
        
        set(newValue) {
            
            UserPreferences.instance.zipCode = newValue
            zipCodeButton.setTitle(newValue, for: .normal)
            
        }
    }
    
    var delegate: FilterDelegate?
