Change Power Level Xbee (series1)

Do you guys nows what's wrong with the code?

That code should be in setup(), or a function that gets called only as needed, not in loop().

The code talks to the XBee, but doesn't listen to the XBee. Why not?