On connection between topological Landau-Ginzburg gravity and integrable systems