added dynamic color change on textbox