fixes #195
Merge pull request #197 from Catrobat/loudness-crash

fixes chrash if application is suspended while loudness sensor is active