[Refactor] Refactor register map.
[NewFeature] Add clear task button.
[NewFeature] Add log text in demo.