Add dynamic loading of images in CustomButton