Handle replay and clear in the mid-way