VirtualKeyboard: rewrite some part of it