Made reset button reset the entire model.