I renewed my H1b visa when my I485 was pending. As my understanding you can keep your F1 if you never leave USA when your 485 is pending or you can apply for EAD now or when you will be graduated. You may have a risk if you apply for the OPT.
good luck