Dynamic logic for Pause/Resume chanage.