* Fix old record overwrite in shake clear mode. modify identifier to prepare for reusing identifier by the OS.
* Fix old record overwrite in shake clear mode.
modify identifier to prepare for reusing identifier by the OS.

* Rewrite debounce pattern.

* Improve debugging mechanism.

naqtn/WBBMTT,naqtn/WBBMTT