 		segmentedControl.setLabel("▶", forSegment: 2)
 		segmentedControl.action = "segmentDidChange:"
 		segmentedControl.autoresizingMask = [.ViewNotSizable]
-		(segmentedControl.cell as? NSSegmentedCell)?.trackingMode = .Momentary
 		segmentedControl.target = self
 		self.addSubview(segmentedControl)
 		

			popover.contentViewController = dateRangePickerController
			popover.delegate = self
			popover.showRelativeToRect(self.bounds, ofView: self, preferredEdge: .MinY)
		case 2:
			dateRange = dateRange.next()
		default:

	}
	
	// MARK: - NSPopoverDelegate
	public func popoverWillClose(notification: NSNotification) {
		guard let popover = notification.object as? NSPopover else { return }
		if popover.contentViewController === dateRangePickerController {
			dateRangePickerController = nil
			updateSegmentedControl()
		}
	}
}
