updated application menu behavior