For selecting an IME after toggle, use previous inputmethods also.

If that also not present, go to first input method for the current
language.
Limit the previous languages and inputmethods to size 5
Merge remote-tracking branch 'upstream/master'
Fix display order of Odia in ULS menu as per user.

 The following changes are done:
 * Fix layout order as per user.
 * Fix names of layout as per user.

 I have kept Lekhani layout as it is, as it may be helpful to other
 users.

 Bug: 50782