Fix formatting of scan result in GUI sample.