Fix LWUIT text editor focus issue.

We need to click twice to focus the text editor, because setVisible()
is called after setFocus().
Merge pull request #559 from PinZhang/pzhang/texteditor-focus-issue

Fix LWUIT text editor focus issue.