sorting language list in preferences, and corrected wrong message used.

Change-Id: I84578680df8c172e694a75336af924fe86736477