Add listener to to update styles on programmatic checkbox changes

We hit an issue where styled checkbox elements don't reflect the actual underlying `<input type="checkbox">` elements' `checked` status when it is changed programmatically. Here's a patch that listens to the checkbox change events and changes the styles accordingly.