I guess you have a alternative layout for landscape and portrait. And one of the layouts does not have a button with id cheat_button
.
If you say the NPE is @ mCheatButton.setOnClickListener(new View.OnClickListener()
then mCheatButton
us null.
Make sure the layouts have a button with id cheat_button