task query from db
edit activity