Updated clear button to actually function as a clear button