Set customButtons to null by default, fix forEach cycle.