         }
         return true
     }
+    
+    
+    fileprivate func saveBeaconUUID(string: String)
+    {
+        UserDefaults.standard.set(string, forKey: TransmitBeaconUUIDKey)
+    }
+    
+    
+    fileprivate func saveBeaconMajor(string: String)
+    {
+        UserDefaults.standard.set(string, forKey: TransmitBeaconMajorKey)
+    }
+    
+    
+    fileprivate func saveBeaconMinor(string: String)
+    {
+        UserDefaults.standard.set(string, forKey: TransmitBeaconMinorKey)
+    }
+    
+    
+    fileprivate func saveBeaconSwitch(isOn: Bool)
+    {
+        UserDefaults.standard.set(isOn, forKey: TransmitBeaconSwitchKey)
+    }
 }

    override func viewDidAppear(_ animated: Bool)
    {
        registerForNotifications()
    }
    
    

                                    selector: #selector(self.textFieldDidChange),
                                    name: NSNotification.Name.UITextFieldTextDidChange,
                                    object: nil)
    }
    
    
    func initializeDisplayValues()
    {
        transmitBeaconUUID.text = UserDefaults.standard.string(forKey: TransmitBeaconUUIDKey)
        transmitBeaconMajor.text = UserDefaults.standard.string(forKey: TransmitBeaconMajorKey)
        transmitBeaconMinor.text = UserDefaults.standard.string(forKey: TransmitBeaconMinorKey)
        transmitBeaconSwitch.isOn = UserDefaults.standard.bool(forKey: TransmitBeaconSwitchKey)
    }
    
    
