[INTERNAL] m.Select: keyboard handling refactoring (reduce code)

Change-Id: Idca11f1f12030abcdaa400b22f1de1cdd50f7499
Merge "[INTERNAL] m.Select: keyboard handling refactoring (reduce code)"