Clear edit text, support escape key