Fix for cadence only sensor

Was not detecting that pedalling had stopped, therefore the previous
cadence rate was displayed indefinitely.
Merge pull request #1033 from dresco/cadence_fix

Fix for cadence only sensor