I need to add dynamic tasks inside an Android app. The dynamic tasks depend on object states (based on a Finite State Machine). When an object changes state an event is fired wh