Added case for deactivating the audio session.
Also activate audio session on play instead of launch in the example.