working text input and time picker