Hopefully both ProblemActivity and ScoreDisplayActivity can use this.