Implement function to fix task attributes when saving an updated project