If you used refresh then it doesn't remove everything. I'd reset Windows under update and recovery then recovery and use the remove everything and reinstall Windows. Why Microsoft included the insidious refresh option I will never know. It keeps your Photos, Music and some docs data and a few reg keys that's making it difficult for you to reinstall Office.
OnePlus 5T review: Hands-on