Actually it was something else derped in my PMA which was causing this bug.
Now the content in the navigation panel while creating the procedure from is same as the main content.
But the thing is that after the procedure is created, the new database is not selected but the old one.

So, I want to ask should I make it to select the database in which the procedure was created ?
Or the current behaviour is OK ?