Change place of ImageProvider initialization