Fix incorrect behavior when editing start time

 - set the start date before the duration which relies on the start date to
   assert its validity.
 - removes inconsistent error message about an incorrect end time which
   corresponds to the old start time plus the new duration.
 - fixes #1583