the code of open option in menubar while menu bar was in working stages