How can I keep an app open in the background?
Apps are paused when backgrounded and resume when opened. If an app does not correctly resume to the state it was left in, this is something only the developer can fix.

It's not possible to run an app in the background as if it was in the foreground. Apps can only run a limited set of tasks in the background for a short period of time per Apple guidelines, or use structured backgrounding such as Background App Refresh.

Also see iOS 7 seems to be killing apps too often.