added image buttons and created button listeners