Fix bug: when saving 2 or more patches with Save All, first task's patch was used in other tasks

Bug found when saving 2 new files with Save All (was saving both files with whole content).
Then, closed them, reopened them, made changes to both, Saving All (was saving both files with patch at this time).
Then, closed them, reopened them, and realized that second file doesn't have the good content.