Update UnitSelectionFrame.java

Changed some variable declarations