Programmatically added the image view, also added the files for the custom button