Implement the Clear and Reset actions