Only undo if an initial annotation was applied

Previously we set isNewAnnotation even if annotation was null, and
then used this boolean to decide if we should perform an undo on
teardown. Change the property to appliedNewAnnotation and only set
it if an annotation was actually applied so we don't do a destructive
undo.

Bug: 70167
Change-Id: I27bd86fb45ad22309ca9dd7ed94ca3c309ff71f5
Merge "Only undo if an initial annotation was applied"