Fix saving of checkboxes (off state) in widgets API