         else if(selectedRowIndex != 1) {
             selectedCharIndex = 0
         }
+        updateACDisplay()
         updateSelectionDisplay()
-        updateACDisplay()
     }
     
     func addGestures() {

        if(selectedCharIndex > 0) {
            selectedCharIndex -= 1
        }
        updateSelectionDisplay()
        updateACDisplay()
    }
    
    func shiftRight() {
        if(selectedCharIndex < keyboardRows[selectedRowIndex].count - 1) {
            selectedCharIndex += 1
        }
        updateSelectionDisplay()
        updateACDisplay()
    }
    
    func shiftUp() {

        if(selectedRowIndex != 0) {
            selectedCharIndex = 0
        }
        updateACDisplay()
        updateSelectionDisplay()
    }
    
    func shiftDown() {
