From quasi-elastic to quasi-compound nucleus reactions induced by a 140 MeV 19F beam bombarding 89Y target nuclei