Set slot using button

I can make it works, but I hate the fact that I have to write my own message instead of pushing button every time I use interactive learning