opening the button menu no longer causes the slideshow to crash