make redo and undo works with Command key on Mac