Infinitely many solutions for a perturbed Schrödinger equation