How to rename a database?
Close the program if it is opened and launch it again. If you are currently connected to the database, you will not be able to rename it, that is why you need to close the program if it is opened and launch it again.
Then in the window the "Select Database" click "Rename"
In the window that appears, specify the new name and click "Save and close"