Adds a basic service that prints to log the max sound amplitude every 500ms.
Added a button to the main activity to turn collection on/off.