finish the EXIT of menu