The conservation of the Hamiltonian structures in the deformations of the Whitham systems