     userDefaults.setValue(kGCKFrameworkVersion, forKey: kPrefSDKVersion)
     userDefaults.synchronize()
   }
+
 
   func loadDefaults(_ appDefaults: inout [String: Any], fromSettingsPage plistName: String, inSettingsBundleAt settingsBundleURL: URL) {
     let plistFileName = plistName.appending(".plist")

  func applicationWillTerminate(_ application: UIApplication) {
    NotificationCenter.default.removeObserver(self, name: NSNotification.Name.gckExpandedMediaControlsTriggered, object: nil)
  }

  func populateRegistrationDomain() {
    let settingsBundleURL = Bundle.main.url(forResource: "Settings", withExtension: "bundle")

        if (prefItemType == "PSChildPaneSpecifier") {
          let prefItemFile = prefItem["File"]  as? String
          loadDefaults(&appDefaults, fromSettingsPage: prefItemFile!, inSettingsBundleAt: settingsBundleURL)
        } else if (prefItemKey != nil) && (prefItemDefaultValue != nil) {
          appDefaults[prefItemKey!] = prefItemDefaultValue
        }
      }
