Custom toolbar button of table colored blue: lika a toggle button

Hi is there an option to colored a custom button of a table blue?

image

If I press the button, the button flashes blue for a short time. But I want to use it as a toggle button. Acitve: show more colums , inactive: show less colums. Could anybody help?

Thanks a lot!