Implemented RepairPlanet task.