Changed MaterialManager to MaterialPackageManager.