Change ImageIndex to use ArrayList for set list