addtask ui and add normal task function