         }
         
         // Set colours
-        datePicker.backgroundColor = UIColor.piwigoColorCellBackground()
-        datePicker.tintColor = UIColor.piwigoColorLeftLabel()
+        datePicker.backgroundColor = .piwigoColorCellBackground()
+        datePicker.tintColor = .piwigoColorLeftLabel()
 
         let calendar = Calendar.current
         var daysInSec = pickerDate.timeIntervalSince(pickerRefDate)

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

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

    @IBAction func unsetDate(_ sender: Any) {

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