changed key event, added space for restart