Assemblyman Cunningham to donate 10 percent of salary to local nonprofits