Fix for #3900: Use correct left and right key codes in hasHintText().

Sending KEYCODE_DPAD_{RIGHT|LEFT} will cause the element to lose focus.
We need to use KEYCODE_BUTTON_THUMB{R|L} instead.
SetText() should fail if UiObject setText() fails.