Hooking up date picker