Add ribbon of most used commands-How it could be implemented?

A few days ago I saw a video, I can’t remember where and what was special about it was that under the commands in the main panel there was a row with the most used commands. How can you implement this for particular purposes in such a way that when you start mathematics it always appears.