Make sure selection stays the same after updating note.