How to change macro attached to toolbar element?

I created a toolbar in my Calc document, and attached macros to its elements. Now I want to change an attached macro to another macro. I don’t see how to do it. Windows10, LO (x64).


Just drop (delete) the old item & add a new one pointed to the macro now wanted.

I guessed it myself, but I thought there was more convenient solution. Thanks anyway.