Wake Gestures: minor improvements and fixes

idea is taken here -
https://github.com/flar2/m7-Sense/commit/60790bb33c7fb87449e5ec8916a836219a7ffbad