Update undoManager usage for 0.12.4

The undo/redo registration APIs changed slightly which was never
accounted for in this application.

We need the undo/redo labels but that should come in as part of the
localization branch.