             self.buttonView = self.createButtonView()
         }
         
+        self.removeGesture()
         self.view.addSubview(self.buttonView)
     }
     


    private let commandManager = SASecretCommandManager()
    private var buttonView: SASecreatCommandButtonView!
    
    public override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
        self.commandManager.delegate = self
        
        let upGesture = UISwipeGestureRecognizer(target: self, action: "detectSwipeGesture:")
        upGesture.direction = .Up
        self.view.addGestureRecognizer(upGesture)
        
        let downGesture = UISwipeGestureRecognizer(target: self, action: "detectSwipeGesture:")
        downGesture.direction = .Down
        self.view.addGestureRecognizer(downGesture)
        
        let rightGesture = UISwipeGestureRecognizer(target: self, action: "detectSwipeGesture:")
        rightGesture.direction = .Right
        self.view.addGestureRecognizer(rightGesture)
        
        let leftGesture = UISwipeGestureRecognizer(target: self, action: "detectSwipeGesture:")
        leftGesture.direction = .Left
        self.view.addGestureRecognizer(leftGesture)
    }

    public override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    
    private func createButtonView() -> SASecreatCommandButtonView {

                switch command {
                    case .A, .B:
                        self.buttonView = self.createButtonView()
                        self.removeGesture()
                        self.view.addSubview(self.buttonView)
                    case .Up, .Down, .Left, .Right:
                        break
                }
