On the coloring of the annihilating-ideal graph of a commutative ring