Clear button functionality