     
     var datepicker: UIDatePicker = UIDatePicker()
     var segmentedControl: UISegmentedControl = UISegmentedControl()
-    let segmentedControlOptions: [String] = ["Arrive By", "Leave At"]
+    let segmentedControlOptions: [String] = ["Leave Now", "Leave At", "Arrive By"]
+    var prevSelectedIndex: Int = 1
     var cancelButton: UIButton = UIButton()
     var doneButton: UIButton = UIButton()
     var disclaimerLabel: UILabel = UILabel()

    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    // MARK: Style

        
        let next7Days = now.addingTimeInterval(7*24*60*60)
        datepicker.maximumDate = next7Days //set maximum date to 7 days from now
    }
    
    private func setSegmentedControl(withItems titles: [String]){
        for i in titles.indices {
            segmentedControl.insertSegment(withTitle: titles[i], at: i, animated: false)
        }
        
        segmentedControl.selectedSegmentIndex = prevSelectedIndex
        
        segmentedControl.addTarget(self, action: #selector(segmentedControlValueChanged(segmentControl:)), for: .valueChanged)
    }
    
    private func setCancelButton(withTitle title: String){
