virtualkeyboard: slightly restructure the code
Instead of putting code in lambda put them in actual slots, this is right now not useful but when e.g. TextInputV3 is implemented, this way we can re-use them.
This also simplifies the code little bit and makes it easier to use with gdb if needed.