Save selected boxes to settings