Fixed bugs:
Pass newValue to selectColor event;
Added coorect handler for ok button.