Second half substitute Rogers Mato scored the winner as the Uganda Cranes beat Tanzania 1-0 at the National Stadium, Dar es Salaam to keep alive their Afcon 2023 qualification chances on Tuesday night.