Button in TopBar

ok I'll take a look at it, more important right now is how I can send a payload with the button