SetState
methodsSets a new state for the checkpoint and re-renders the button.
Parameters:stateString
The new state. Valid values are "startOver", "restore", and "redo".