Changed keypress event to work multiple times (fix)