In this paper, we study the photoinduced switching of the nitrogen-vacancy (NV) center between two different charge states - negative (NV-) and neutral (NV0) at liquid helium temperature. The conversion of NV- to NV0 on a single defect is experimentally proven and its rate scales quadratically with power under resonant excitation. In addition, we found that resonant excitation of the neutral NV changes the charge state, recovering its negative configuration. This type of conversion significantly improves spectral stability of NV- defect and allows high fidelity initialization of the spin qubit. A possible mechanism for ionization and recovery of the NV- defect is discussed. This study provides better understanding of the charge dynamics of the NV center, which is relevant for quantum information processing based on NV defect in diamond.