Adding undo color on Change in the widget