Congratulations!
You have selected the right answer
The compass needle changes direction to line up with the centre of the coil because the coil behaves like a magnet.