when trying to instantiate button with image inside from a for loop or when trying to instantiate it from other function called from button, the image just appears on the la