In Situ control and modification of the probe magnetization state for accurate magnetic force microscopy