save DataPool if app goes in background