title: How to Update Extension settings preferences from JS - Safari API?
body: <p>i am using safari extension settings to add a checkbox to the extension prefrences.
  <img src="https://i.stack.imgur.com/hKMPb.png" alt="enter image description here"></p>
  
  <p>i want to remove the check box check from the code by using this:</p>
  
  <p>safari.extension.settings.setItem("testProperty",false);</p>
  
  <p>i see that the value is updated when i use it in code. but the UI isn't updated till the next Safari restart.</p>
  
  <p>Do you know if there is a way to make the sync when i change the value from the code</p>
  
  <p>thanks
  Tal</p>