Fix LWUIT text editor focus issue.

We need to click twice to focus the text editor, because setVisible()
is called after setFocus().