time picker actually working and updates json