How to bind macro to a button?