Use afterEvaluate to hook android tasks