added a clearbutton to the textfield while editing.