BF: If revert to previousState clear processedState