fixed MenuEditor.__saveMenu()