State Ethics Committee settles lawsuit with local nonprofit after months long legal battle