Start a level that requires your hero to complete a task. When you complete the task press the 'Pause' button and quit. You will notice that you still have the money and Hero Exp that you earned in the level.