Making use of preferences

Preferences now saved and used in the application logic (autoupdate is
not yet working though)

Change-Id: I8b3540f8a49c6a151d5cc54d9a49005e0a3c98d7
diff --git a/osx/MainMenu.xib b/osx/MainMenu.xib
index 5f23e85..62d73fc 100644
--- a/osx/MainMenu.xib
+++ b/osx/MainMenu.xib
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="4510" systemVersion="12F37" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="4510" systemVersion="12F45" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
     <dependencies>
         <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="4510"/>
     </dependencies>
@@ -219,7 +219,7 @@
                                     <font key="font" metaFont="system"/>
                                 </buttonCell>
                                 <connections>
-                                    <action selector="switchSoftwareUpdates:" target="0yn-TQ-4SC" id="Gh4-nv-8N8"/>
+                                    <binding destination="y0R-NA-1ih" name="value" keyPath="values.allowSoftwareUpdates" id="fG5-UG-ePy"/>
                                 </connections>
                             </button>
                             <button translatesAutoresizingMaskIntoConstraints="NO" id="ghB-he-yYe">
@@ -232,6 +232,9 @@
                                     <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
                                     <font key="font" metaFont="system"/>
                                 </buttonCell>
+                                <connections>
+                                    <binding destination="y0R-NA-1ih" name="value" keyPath="values.shutdownNdndOnExit" id="yBf-x9-4BT"/>
+                                </connections>
                             </button>
                             <button translatesAutoresizingMaskIntoConstraints="NO" id="pK9-GZ-bQL">
                                 <rect key="frame" x="16" y="53" width="307" height="18"/>
@@ -244,7 +247,7 @@
                                     <font key="font" metaFont="system"/>
                                 </buttonCell>
                                 <connections>
-                                    <action selector="switchHubDiscovery:" target="0yn-TQ-4SC" id="by5-Mt-5bD"/>
+                                    <binding destination="y0R-NA-1ih" name="value" keyPath="values.enableHubDiscovery" id="Tep-jT-r7h"/>
                                 </connections>
                             </button>
                         </subviews>