         if label == nil {
             label = UILabel()
             label?.font = UIFont.piwigoFontNormal()
-            label?.textColor = UIColor.piwigoColorLeftLabel()
+            label?.textColor = .piwigoColorLeftLabel()
         }
         switch PickerComponents(rawValue: component) {
             case .day:

        }
        
        // Set colours
        datePicker.backgroundColor = UIColor.piwigoColorCellBackground()
        datePicker.tintColor = UIColor.piwigoColorLeftLabel()

        let calendar = Calendar.current
        var daysInSec = pickerDate.timeIntervalSince(pickerRefDate)

    // MARK: - Buttons Methods
    func setDatePickerButtons()
    {
        toolBarTop.barTintColor = .piwigoColorCellBackground()
        unsetDateButton.tintColor = .red
        incrementMonthButton.tintColor = .piwigoColorRightLabel()
        decrementMonthButton.tintColor = .piwigoColorRightLabel()

        toolBarBottom.barTintColor = .piwigoColorCellBackground()
        todayDateButton.tintColor = .piwigoColorRightLabel()
        incrementYearButton.tintColor = .piwigoColorRightLabel()
        decrementYearButton.tintColor = .piwigoColorRightLabel()
    }

    @IBAction func unsetDate(_ sender: Any) {
