Thanks for your reply.
With further debugging I was able to isolate the issue. It was no bug with the beta but rather with my model not staying in sync between the main app and the widget.
After fixing this my code above worked reliable.
Topic:
App & System Services
SubTopic:
General
Tags: