Modified ImageGridAdapter.java