Changed routine to finish composition for inputted texts when long tapping on input box.
[Title] Changed routine to finish composition for inputted texts when long tapping on input box.
[Issue#] N_SE-32784
[Problem] when long tapping on input box of OSP App,
all texts are removed and text selection is not working properly.
[Cause] In case that composition for inputted texts is not finished(there are underlined texts),
when long tapping on input box of OSP App, routine to finish composition is not called.
(In this case, browser app is working fine.)
[Solution] Moved code to finish composition for inputted texts.
So, routine to finish composition for inputted texts is called in both browser app and OSP app.
Change-Id: I406415088a79d7d1986d7c7c9854ac02af766843