An improved method for retaining polyaniline on glass surface