Fix the shortcut keybindings in editor tab popup menu

Signed-off-by: Umair <omerjerk@gmail.com>

This pull request targets the following issues of the tabs popup menu :

1. The shortcuts worked only until the popup menu was dismissed for the first time.
2. The previous tab and next tab options were not working as their was no code to handle that.