Modified didSelectDate method to receive dateItem.

It is required because many people may want to modify appearance after selecting the date.