Avalanche dynamics of magnetic flux in the Nb-Ti superconducting ring