I am creating new Main Toolbar but it doesn't work


I am creating a new Main toolbar but it doesn’t work because when I create an object and move that then old Main toolbar active and my new toolbar inactive but when I click on my new Main Toolbar then my toolbar works, So please help me in this so that my toolbar always active…not old one.