Use segmented control in search view and choose date view