Implement mark task done button and change db schema for done datetime

* Implement mark task done button and db update.
* Implement db query for last done task.
* Change task db schema to have created time and done time.