update Undo Redo Buttons
Recomputes undo/redo availability from the bound provider (on a background thread, since canUndo/canRedo might block) and applies it to the toolbar buttons.
Parameters
on State Updated
Optional callback invoked with the resolved canUndo/canRedo state once the buttons have been updated.