Ui_text_input retain last input - tricky to use the widget sometimes

Unbelievable, it works perfectly when I change the delay from 0 ms to something else. I have no idea why I configured 0 in the first place. I will leave anyway this post here as this may be useful fro someone, some day (perhaps to myself).