Refactor: moved plan displaying to problemViewer class