This line looks superfluous, since the button isn't references elsewhere in the function.