Envoyer la notice par courriel: Deterministic conversion between memory and threshold resistive switching via tuning the strong electron correlation