Seperated PicAdapter from inner class to seperate class