The analysis editor changes the edit state from unchanged to changed whenever an edit takes place, be it inserting a line variation or adding comments. The state change to changed also 1. Changes the Saved button to change to Save 2. When Add to Collection has saved the game the is changed back to
The bug is that adding a leading annotation, or editing a leading annotation does not trigger a state change to changed.
The following animated GIF show the Collection Popup with the checkmarks, then the leading annotation is edited, the board is clicked, and the Collection popup still show the checkmarks. Finally, a non-leading annotation is just clicked and this triggers the state change, as confirmed by the Collection popup having all + signs.
The Fix: Trigger the state change when adding or editing a leading comment.
If the edit state isn't changed when leave analysis you loose the edit. Also there is no way to Save as the Save button is in the Saved state and the Collection is in the Checkmark state.
The analysis editor changes the edit state from unchanged to changed whenever an edit takes place, be it inserting a line variation or adding comments. The state change to changed also
is changed back to 
1. Changes the Saved button to change to Save
2. When Add to Collection has saved the game the
The bug is that adding a leading annotation, or editing a leading annotation does not trigger a state change to changed.
The following animated GIF show the Collection Popup with the checkmarks, then the leading annotation is edited, the board is clicked, and the Collection popup still show the checkmarks. Finally, a non-leading annotation is just clicked and this triggers the state change, as confirmed by the Collection popup having all + signs.

The Fix:
Trigger the state change when adding or editing a leading comment.