Restrict direct usage of problem instance in GUI to setProblem()