                     }
                 })
             }
-        } else {
-            
         }
     }
     
     @IBAction func addTimeZoneAction(sender: AnyObject) {
         zonesArray.append("10:00-10:00")
-        self.isFromButton = true
-        self.picker?.pickerTitleLabel("From")
-        self.picker?.okButtonTitle.title = "Next"
-        self.picker?.hideShowDatePickerView(isToShow: true)
-        self.picker?.datePicker.minuteInterval = timeInterval
+        isFromButton = true
+        picker?.pickerTitleLabel("From")
+        picker?.okButtonTitle.title = "Next"
+        picker?.hideShowDatePickerView(isToShow: true)
+        picker?.datePicker.minuteInterval = timeInterval
     }
     
     

        
        footerGradientView.colors = [UIColor.yiWhiteThreeColor(), UIColor.yiWhiteTwoColor()]
        
        self.setChallengeButton.setTitle(NSLocalizedString("challenges.addBudgetGoal.setChallengeButton", comment: "").uppercaseString, forState: UIControlState.Normal)
        
        self.bottomLabelText.text = NSLocalizedString("challenges.addBudgetGoal.bottomLabelText", comment: "")
        self.timezoneChallengeMainTitle.text = NSLocalizedString("challenges.addBudgetGoal.TimeZoneChallengeMainTitle", comment: "")
        let localizedString = NSLocalizedString("challenges.addBudgetGoal.TimeZoneChallengeDescription", comment: "")
        
        if isFromActivity == true{

    }
    
    // MARK: functions
    private func configureDatePickerView() {
        
        datePickerView = YonaCustomDatePickerView().loadDatePickerView()
        picker = datePickerView as? YonaCustomDatePickerView
