Improve first tap detection logic
Improve first tap detection logic

This change avoids unnecessary (expensive?) calls to time_ms and
difftime_time_ms_t.

aarmea/bpm-pebble,aarmea/bpm-pebble,aarmea/bpm-pebble