fixed a bug with the timepicker when adding a pet