Added keyboard shortcuts for selection/deselection and undo/redo