added functionality for the buttons. you can now change images.