+ TCGlobalPlaySounds = [playSoundsButton state];
+ [[NSUserDefaults standardUserDefaults] setBool:TCGlobalPlaySounds forKey:TCPlaySoundsPref];
+
+ // send window information to the delegate so the necessary adjustments can be made
+ [delegate preferenceSetWindowsOnTop:[windowsOnTopButton state]];
+
+ TCGlobalWindowsOnTop = [windowsOnTopButton state];
+ [[NSUserDefaults standardUserDefaults] setBool:TCGlobalWindowsOnTop forKey:TCWindowsOnTopPref];
+
+ TCGlobalUpdateCheck = [updateAutomaticallyButton state];
+ [[NSUserDefaults standardUserDefaults] setBool:TCGlobalUpdateCheck forKey:TCUpdateCheckPref];
+
+ // send server information to the delegate so the server can be updated accordingly
+ [delegate preferenceSetAllowRemote:[allowRemoteButton state] listenPort:[listenPortTextField intValue] broadcastName:[broadcastNameTextField stringValue]];
+
+ TCGlobalAllowRemote = [allowRemoteButton state];
+ [[NSUserDefaults standardUserDefaults] setBool:TCGlobalAllowRemote forKey:TCAllowRemotePref];
+