managementObject is using singleton patten. so we using new ManagementObjects(ui) while generating the object. And the object should be used by ManagementObjects.getInstance()