Fixing initializtion of checkboxes

Fixes #114

Triggering the change event (and chaning the click handler to a change
handler)