Change LevelManager to store level index