can we access the button from the toggle function?