_addDataFromMenu: fixed memory leaks
updated: save options