move those two lines to https://github.com/gasolin/gaia-preload-app/blob/26749697adb5b8a49439676191d8377b1ce1830f/preload.py#L62 for applying to all type of apps which download from internet instead of only avaiable for packaged apps.