checks if the song already exists before adding it