Precession and glitches in the framework of three-component model of neutron star