/**Method Name: getInput
     * Parameters: N/A
     * Returns: N/A
     *
     * Takes input from the user and creates a new BuddyData and adds it to the list.
     * */
    public void getInput()
    {
        BuddyData newBuddy = new BuddyData(buddyName.text, buddyNumber.text);

        buddies.Add(newBuddy);

        //Automatically saves changes to the file
        SaveSystem.AddBuddy(buddies);
        UpdateList();
    }
    public void toggleActive()
    {
        int index = int.Parse(ES.currentSelectedGameObject.transform.parent.name);

        buddies[index].isActive = !buddies[index].isActive;
        if (buddies[index].isActive)
        {
            ES.currentSelectedGameObject.GetComponentInChildren <Text>().text = "Active";
        }
        else
        {
            ES.currentSelectedGameObject.GetComponentInChildren <Text>().text = "Inactive";
        }
        SaveSystem.AddBuddy(buddies);
    }