Events in the widget do not work

I’m a little confused about what’s supposed to be happening, and what’s actually going wrong.

The problem might be your “Details” array. Where is that coming from and how was it set?