small refactoring: if-elseif-elseif into switch-case for keyboard shortcuts
small refactoring: if-elseif-elseif into switch-case for keyboard shortcuts

villez/vs-slideshowgen,villez/vs-slideshowgen,villez/vs-slideshowgen