fixing duration update crashing the app when the new end time is later than the old one
fixing duration update crashing the app when the new end time is later than the old one

lx4r/sheeptime,lx4r/sheeptime