Extract changing image into a method