adding the reset function

adding the reset function with the button and the reset function with
serial