private void OnOverrideButtonClick() { if (_wearableControl.IsOverridingDeviceConfig) { _wearableControl.UnregisterOverrideConfig(); } else { // Get a copy of the current requirements resolved config and set that as our override config. var currentConfigCopy = _wearableControl.FinalWearableDeviceConfig.Clone(); _wearableControl.RegisterOverrideConfig(currentConfigCopy); } }