[DF-3293] Final changes. Fixed defect with aggregators inside library while platform switch, undo/redo, copy/paste.