hack to initialize time pickers.