See my comment below on testing button code.