add close app on suspend, save core.json into filesystem, not working open file.. test!