created new button for segmentation and integrated its call