enhancement for setting AudioSession category and mode. Added AVAudioSessionInterruptionNotification handler (as AVAudioSessionDelegate is deprecated)