added the reset button option and code

need to create a confirmation dialog before delete function