The global variable is needed because problem_choices needs to be fed to the xmodule field before we get a chance to populate problem_choices.

I'm no longer certain that the function is necessary.  I will look into it.