Issue renaming DB Name

Oneidentity: 8.2.1

Hi, last week I had a problem with an update on a database Database_A, so we restored it with another name Database_B.
So I configured all connection to Database_B and all was good.
This morning we renamed Database_A as Database_A_OLD and the database_B as Database_A.
The problem is that if I try to connect to the "new" database_A selecting it and clicking on "Test COnnection" an error appears: "Database_A_Old is not online".
But I'm not connecting to that one.
I also tried to run the db compiler, but it says that "There are still calculation process step in this database", so it doesn't compile the db.

Do you know which could be the problem?

Thanks,

Roberto