Fixed autoClose and selecting current date

Fixed issue when selecting date from not current month would not
autoClose the picker. Also currently selected date wasn’t selectable
wether autoClose was on or off.