Reset button functionality