Improvisation skills see composer with dementia launch single for charity