added imagePath Attribute to button