Fixed the level selection bugs