Fix bug with colour change event handler
Seems to work locally - will push to beta site...