implemented keyboard shortcut functionality, operate on id