public ButtonForInventory GetSelectedButton() { if (selectedSpell) { return(spellList.FindButtonWithText(selectedSpell.SpellName)); } return(null); }