         
         get {
             
-            return defaultPreferences.object(forKey: "showUseZipCodeSwitch") as? Bool ?? true
+            return defaultPreferences.object(forKey: Keys.useZipCode) as? Bool ?? true
             
         }
         

        
        get {
            
            return defaultPreferences.object(forKey: "showStores") as? Bool ?? true
            
        }
        
        set (value){
            
            defaultPreferences.set(value, forKey: "showStores")
            
        }
        

    }
    
}

fileprivate class Keys {
    
    private static let namespace = "tech.blacksource.blacknectar"
    
    static let searchRadius = namespace + "searchRadius"
    static let showStores = namespace + "showStores"
    static let showFarmersMarkets = namespace + "showFarmersMarkets"
    static let useMyLocation = namespace + "useMyLocation"
    static let useZipCode = namespace + "useZipCode"
    static let zipCode = namespace + "zipCode"
}
