Trying to pass a class instance variable in an Intent

In the second challenge in chapter 8 (“Limited cheats”), I put a variable “cheatsLeft” in QuizViewModel, and I was trying to pass the quizViewModel variable in the Intent to start CheatActivity, so that rotating doesn’t reset the number of cheats left. I can’t pass quizViewModel directly via putExtra(), so I tried making a Serializable class and I put answerIsTrue and quizViewModel in my new class, but this generated a runtime exception. Any thoughts appreciated…