I think this means that i  don't actually understand how this framework works. This addOutput methods is called when the buttons are added to the map. I realize now that this is the wrong method. It seems like we use addActions for that.