public void ChangeState()
 {
     MathController.NewMove();
     if (selected)
     {
         UnselectButton();
     }
     else
     {
         SelectButton();
     }
     GetComponentInParent <BoardController>().ChangeState(i, j);
 }