Added a local storage and reset button