made the ButtonEventGenerator work again