Why is this arm bone bending the other way after exiting edit mode?
Its standard practice to add a slight bend in the arms when in Edit Mode, which is what Faceb is eluding to.

That said, you can quickly fix your problem by changing your Pole Angle to 180.