Change result name "viewResults" to "showResult".