setSettingInternal clears restriction cache when storing a whitelist

You might find this solution a little heavy-handed, but I can't think of anything better for the moment.