switchLanguage method

void switchLanguage()

Implementation

void switchLanguage() {
  if ((activeIndex + 1) == getLanguagesCount())
    activeIndex = 0;
  else
    activeIndex++;
}