It is permissible to stay in kaafir countries based on certain conditions, the most important of which are: that the person who stays there has enough religious commitment to protect him from desires and has enough knowledge and insight to protect him from doubts and specious arguments that he may face, is able to practice his religion openly, and he and his family are safe. For more details concerning that, please see the answer to questions no. 13363 and 27211.
If these conditions are fulfilled, there is nothing wrong with your staying there in order to complete your Bachelor’s and then your Master’s.
In that case, you should strengthen your connection with the Muslims in that land and strive to go to one of the Islamic centres to offer prayers, attend lectures and strengthen your faith, for the Shaytaan is closer to one who is on his own, and he is further away from two.
If you can take part with some of the members of the Islamic centre in calling people to Allah and organising lectures and lessons, this is better.
We ask Allah to guide you, help you and enable you to obey Him.
And Allah knows best.