Eliminating magic numbers in MajorRankingListFragment and MinorRankingListFragment