Fixes issue #29 where the app would crash when trying to dispatch a trigger