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