500ms delay on key event