modifed behavior of the shortcuteditor

When focused, a timer will start and the focus will be lost when it
times out. The interval is 2 seconds and is reset each time a key is
pressed.
An icon will be displayed if the editor does not have the focus and a
shortcut is defined