To prevent accidental presses of the Reset button, add a modal confirmation. If yes, then proceed with the Reset. If no, close the modal and carry on