add keypress-event