Switch onCashedOut and onUserCashedOut in the example code.