Enable clear button when possible