Double In Situ Approach for the Preparation of Polymer Nanocomposite with Multi-functionality