Fix bugs in color updating. Cancel button on color dialog now works as expected.
Fixes #465 and #467