Added problem type toggle to viewer