Making random_phase.py aware of the regions of the model. Adding a lifecycle flow to the effect to handle the button events, chase, and post-chase animations.