GUI-653

changed key event to keypress (as it was originally)