Influence of the effective interaction on spectra of superfluid nuclei