Trigger change event when value is changed.

This is a fix for the issue #78 I've previously opened.