Hooking up timepicker correctly