mark task as finished