GWTII-177 undo redo buttons example bug

BUGFIX, Change code of example class to enable undo and redo buttons correctly.