Forgot to link up the datepicker object to the delegate.