Gravar-mail: Switching of band inversion and topological surface states by charge density wave