Reset button function is added