Made working reset button.