Place the timeline inside the cabinet actor instead. This way each object can keep track of the state of the FlipFlop which will be the source of the buggy you mention.
If you have more than just cabinets to interact with, it might be a good idea to have a look at how Interface communication works. Otherwise, you’ll be casting all over the place, it becomes tedious rather quickly in such situations.