implemented handling of shouldSelectDate: protocol method