MOdified the Clear button code.