Fix redundant undo entries for earmarks

Creating the earmark picker was needlessly adding entries to the undo
stack.
1 job for fix-earmark-undo in 2 minutes and 5 seconds (queued for 25 seconds)