Use config.togglePreference everywhere.