Hello Kunal Gupta,
Thank you for writing. Please find an article for customizing Flexmonster Toolbar with all the necessary examples here: https://www.flexmonster.com/doc/customizing-toolbar/. It describes the recommended approaches of how to manage the toolbar the way you need.
Please let us know in case of any other question.