onkeydown event handler renamed _onKeyDown