Notifies if it is possible to redo an action.
Notifies if it is possible to undo an action.
Adds a state by checking the difference between current state and previous one.