Attaching propertycontainer to Application