Fixing incorrect pointer to widget-item causing the app to crash