refactor date time pickers set up