add task menu.
add close task.

Signed-off-by: robertzml <robertzml@126.com>