The influence of the spin-orbit quasiparticle interaction on the magnetic properties of nuclei