Hi @KrishR
I would suggest not changing the name and instead using a dynamic way to show in a small label on the top (left or right) what stage of the lifecycle the app is. Here is a suggested way:
Create a flow that can pull the current environment GUID then run it through a switch control to validate:
Cases:
GUID = development environment, return "DEV"
GUID = UAT environment, return "UAT"
Default case is blank. so that if you push the app to any production environment, it will return nothing.
You can run the flow OnStart to get the label with the right tag dynamically and never worry about it in the future.
The value in that your checking against in the switch statement is an expression:
workflow().tags.environmentName

I hope you find this useful.