[Application] set packageId for current app

fix bug TDIS-5523