1. Generate menu json file;
2. Fix the issue that menu cannot save info;