Nuclear activity and interstellar medium in a sample of isolated galaxies