Fixed missing id attribute in prefWindow bug and added trust level to UI