add option in order to switch between 1st and 2nd category level on the sampling state