Added optional param to execute change function

Using paintable, the checkbox's change event listeners do not get called. This will allow one to pass an optional function to execute when a value is changed.