     var useLocalization: Bool = true
     var useSymbol: Bool = true
     var useCustomSymbol: Bool = false
-    var prefs: NSUserDefaults = NSUserDefaults.standardUserDefaults()
     
     init(withCode code: String, update: Bool = true, remember: Bool = true) {
         setTo(code, update: update, remember: remember)

    
    func update() {
        updateRate()
    }
    
    func recordAsSelected() {

        self.useLocalization = currency.useLocalization
        self.useSymbol = currency.useSymbol
        self.useCustomSymbol = currency.useCustomSymbol
        if preferredNumberOfDecimalPlaces() != nil {
            self.decimals = preferredNumberOfDecimalPlaces()
        }
        if update {
            self.update()
