fixes chrash if application is suspended while loudness sensor is active

The AVAudioSession is not allowed to record if the application is suspended. Disabiling it in the app delegate solves this problem.