     func setTo(code: String, update: Bool = true, remember: Bool = true) {
         let currency = getRecord(code)
         self.code = currency.code
+        self.rate = currency.rate
         self.locale = currency.locale
         self.symbol = currency.symbol
-        self.rate = currency.rate
         self.decimals = currency.decimals
+        self.symbolPosition = currency.symbolPosition
+        self.useLocalization = currency.useLocalization
+        self.useSymbol = currency.useSymbol
+        self.useCustomSymbol = currency.useCustomSymbol
         if update {
             self.update()
         }

        let locale: String = currency.locale!
        let symbol: String = currency.symbol!
        let decimals: Int = Int(currency.decimals!)
        
        // Finish by hiding the network indicator.
        UIApplication.sharedApplication().networkActivityIndicatorVisible = false
        
        return(name, code, rate, locale, symbol, decimals)
    }
    
    private func updateRate() {

    var locale: String?
    var symbol: String?
    var decimals: Int!
    var symbolPosition: String?
    var useLocalization: Bool = true
    var useSymbol: Bool = true
    var useCustomSymbol: Bool = false
    
    init(withCode code: String, update: Bool = true, remember: Bool = true) {
        setTo(code, update: update, remember: remember)
