                     aTappedSmileButton.backgroundColor = UIColor.lightGrayColor()
                     
                 }
-            
+                
             } else {
                 
                 if (anIndex != -1) {

                aCurrentQuestionAnswered = true
                
                storeResponse(self.questionIDs[anIndex], iQuestionType: questionDisplayTypes[anIndex], iNumberResponse: -1, iTextResponse: [selectedSingleSelectOption],iDidRespond: aCurrentQuestionAnswered)

                aSurveyResponse = ["textInput" : selectedSingleSelectOption, "questionId" : self.questionIDs[anIndex], "questionText" : self.questionTexts[anIndex]]
                
            }

            let anIndex = tappedButton.tag - 1
            
            if ((SDKSession.unselectedSmileyRatingImages != nil) && (SDKSession.selectedSmileyRatingImages != nil)) {
                
                if ((SDKSession.unselectedSmileyRatingImages!.count == 5) && (SDKSession.selectedSmileyRatingImages!.count == 5)) {
                    
                    if (anIndex != -1) {
