Added toggleImage function. Also toggle text on button inside the function depending if image is visible or not