Yay! You found the solution. That worked for me too.
Once I connected my phone through USB cable to my PC, I had to go back to my phone. I swiped down from the top. I saw USB Charging - Tap here for more options. I tapped and changed my phone setting from
Use USB for
Charging
to
Use...