Clearing undo history now also clears redo history