refactor(edit) setMenu