added debug message for adding device steps, and make sure to revert Coordinator key back to network key if a step fails