Move undo/redo from context menu to toolbar.

Since, updating these items on selectionAdded() was no longer possible,
we extend the changed() function to refresh our custom controls.

Signed-off-by: Vivek Rai <vivekraiiitkgp@gmail.com>