Upd color mode in gradient widget.