Made reset button reset the view state as well as the model state.