Android Game not close in background state

Hello! How make android game not closing/exiting/unloading in background state. I mean, when i minimize the game, its restarting. How to solve this problem?
Thanks.