fix #6084: check if areas are selected in preferences before open the distribution...