Added keyboard shortcut functionality