Redesign of DeviceUI-class