Default How to make app run in background as in foreground?

Device: Droid Mini
On 4.4 FW (rooted)

My question is particularly about "Clash of Clans" where the app will recognize if your inactive after a few minutes and will make you reload it. There is a mod that will keep it running and basically fake being active, but it won't work unless clash is running in the foreground but I like to do other stuff on my phone so I want to make clash run in foreground while I'm using other apps. Any suggestions?