Refactored to use touch sensor instead of decibel sensor