Reduce duplicated code
Only refresh the affected parts of a cross-folder search set after moving/deleting/flagging