Fixing bugs in downloadApkLib task