Changes to main activity for testing

The onProgressChanged/onLevelChanged event handlers were circularly
triggering each other. This led to what I thought was a bug in the Knob
code but wasn't. Each event now triggers the other only if they come
from the user. DUH.