Fix hint text always visible when using IM

Also remove some duplicate place holder text code.

Change-Id: I82b12f6d6d2b7364cc5939b3f88c8ebdeae243bf
Reviewed-by: Andras Becsi <andras.becsi@digia.com>