Existing workouts can now be overwritten when saved.

When saving a workout after editing it, the program can now
differentiate between an existing workout and a new workout and save the
data accordingly (overwrite or  append).