Menu programmatically close