I think the correlation they were getting at is - both are mental health conditions and both have a high rate of recovery during patients' early 20s.
While I agree with you that the correlation here doesn't have any direct relation to addiction based on the evidence provided (a study connecting ADD/ADHD to addiction would be VERY interesting), I think that the author included it to show that not all mental health conditions have a low recovery rate.