Added functionality to set image src at runtime without setting it in XML.