Add association between application and device