added button to clear query input field