How to add custom button next to favorite in Subpanel

How to add custom buttons next to favorite button for subpanels?

Thanks,

Kumar