Fixed bug in device management view