Adding task adapter