fixed small bug when editing repeating tasks