implemented removeconfigureddevice