Fixed 2 issues

- fixed a bug where wrong dates were returned when selecting date from
another month (if select_other_months property was set to TRUE) and the
datepicker was always visible;
- fixed a bug where when clearing dates of always-visible datepickers,
the class indicating the "selected" state of cells was not being
removed;