Add keyboard shortcuts handling.