make clear button

this clear button is to clean the subclass'value
also,i build up some protection method to prevent from
user clicking the clean button repeatly and cause unexpected error.