Hi Mporto! I'm happy that you like the article and that you are using the code.
For what concern your question, I guess that the only solution is to add a button in the GUI and to attach the `onCommit` closure to that button.
The problem is that the keyboard does not allow you to trigger the execution of that closure from the keyboard itself, so we need to do that in some other way.