Adding a segmented control to the toolbar