Attempting to disable / enable undo and redo buttons