Consumer confidence fell in October as inflation takes a toll