code: function setupAutoUpdatePreference() {
          PreferencesManager.definePreference("autoUpdate.AutoUpdate", "boolean", true, {
              description: Strings.DESCRIPTION_AUTO_UPDATE
          });
  
          // Set or unset the auto update, based on preference state change
          PreferencesManager.on("change", "autoUpdate.AutoUpdate", function () {
              if (_isAutoUpdateEnabled()) {
                  setupAutoUpdate();
                  UpdateNotification.registerUpdateHandler(_updateProcessHandler);
              } else {
                  unsetAutoUpdate();
                  UpdateNotification.resetToDefaultUpdateHandler();
              }
          });
      }
docs: Defines preference to enable/disable Auto Update