Disable clear button when there is nothing to clear