Created listener to feed back selected dates to parent class