RF-13531: Removed use of the keypress event for listening for "special" keys