Added button to specify number of profiles.