A deleted/reinstalled Android app still loads old DB

My app opens the Realm with:

        val config = RealmConfiguration.create(schema = setOf(

        realm = Realm.open(config)

So I see the .realm file is located in the files directory of the app’s private space. But it’s quite strange after I delete the app and then install it, the old content in the DB is still loaded into the app. Any ideas why?

Never mind. It’s due to the BackupAgentHelper I have.