canUndo and canRedo (will be used to enable and disable the buttons)