autocopy of appointment stattime to endtime implemented