nextselectedCategory renamed into nextSelectedCategory