Add clear complete button in the front end.

Fix golang compile error as well.