} else {
                maxDate = LocalDate.of(selYear, Month.of(selMonth + 1), dayOfMonth); //Last second of the day for max day
                maxDateTextView.setText(maxDate.toString());
                if (maxDate.isBefore(minDate)) {
                    minDate = maxDate;