This is a fix for the edit assignment bug.  Editing an assignment previously added to the gradebook would add a new assignment.
continued fix of edit button