Group structure of the $p$-adic ball and dynamical system of isometry on a sphere