Completed reset button functionality