minor fix

Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
fix case when manager's funcs were dropped

in editor mode, when press save, I initialize manager context for
generator. So editor's funcs will be dropped. Save them and reassign.