Interface that all Doodle apps must implement. Apps have a simple lifecycle. They are created using a constructor when launched, and shutdown when they are being retired.
Called whenever the app is being torn down.