adding action to clear button