code: def on_checked_changed(self, on):
          
          #: Since iOS decides to call this like 100 times for each defer it
          d = self.declaration
          with self.widget.setOn.suppressed():
              d.checked = on
docs: See https://stackoverflow.com/questions/19628310/