move config.json to nw and refresh editor when activate