In-App Purchase code cleaned up (image downloading)