added clear button to text field