Avoid null in the IME languages buttons

Change-Id: Ic64763fdba34bdcebde33104f7e6130d93a84e02
Merge "Avoid null in the IME languages buttons"