If the correct wallet is showing in your application, export the private key (see code below) > create a new wallet > import private key.
rename wallet.dat to wallet_old.dat
Restart the application
I'm still looking for a way to recover a private key (if it's possible) if the above situation isn't the case here. I'll edit this post if I find anything
can you make an example because i have password protect my wallet. please?