This is the first agreement in a series of lawsuits the company is facing over its marketing practices.