Fixed clear bug

Fixed an HTML error that caused the clear button to also download the
CSV file.