Implemented functionality for replacing buttons with images (NOTE: I'm not actually using that image)