setSettingInternal clears restriction cache when storing a whitelist