Fixed device-activate action that now handles api
response propertly.