Trouble with Arrays to control LEDs

Why does pin 7 appear twice?

Why not use the arrays to set the modes?