enable passing a custom stock_id for actions

I love your compatibility module and now use it for my lLyrics plugin. Thank you!

The only issue I had: I wanted to keep the toolbar icon for RB<2.99. But in order to show the correct icon, one must be able to pass a custom stock_id to the toggle action. Thats the only thing I added.