CordovaSim: Fixed multiple calling of menu bar on MacOs