You definitely have to change a new rim.
See how a piece of the rim was missing? this is where rims hold tire bead in place. with that missing tire pressure will drop.
In addition, I saw burn marks on the edge of your rim. You must drove a substantial distance after flat tire. Now the rim has lost its strength due to heat. Any rim retailer would tell you to replace it ASAP.