Listener used to notify user that the undo history has changed.
Notifies the observer that the undo history has changed inside the undo manager.