In CrazyTipCalc.java delete commented out code, delete unused import. Change new OnCheckedChangeListener() to new CheckBox.OnCheckedChangeListener()