Used the finish event to clear the sets from the below classes