UnitController.UpdateButtonStatus C# (CSharp) Method