Ivancevic,
I think that you are saying that, "it drops the Wi-Fi connection and goes back to 4G", correct?
If so, see this:
Recommended settings for Wi-Fi routers and access points
If your iPhone, iPad, or iPod touch won’t connect to a Wi-Fi network
Good luck.