you had better not go outside US before you file I-485. Otherwise, you may not get get the F1 visa to come back due to the immigration intent. After you file I-485, you can apply for AP for international travel.