private void PopulateStates()
        {
            if (_states != null && _states.Count > 0)
            {
                return;
            }

            pickerState.Items.Clear();
            DataString[] dataStates = LoadFromJSON.GetData(resourcePrefix + "Resources.States.json");

            if (dataStates != null && dataStates.Length > 0)
            {
                _states = new List <DataString> ();
                foreach (DataString data in dataStates)
                {
                    pickerState.Items.Add(data.Text);
                    _states.Add(data);
                }
            }
        }
        private void PopulateIncome()
        {
            DataString[] dataIncome = null;
            if (pickerMS.SelectedIndex == 0 && (_singleIncome == null || _singleIncome.Count <= 0))
            {
                dataIncome = LoadFromJSON.GetData(resourcePrefix + "Resources.SingleIncomeGroup.json");
            }
            else if (pickerMS.SelectedIndex == 1 && (_maritalIncome == null || _maritalIncome.Count <= 0))
            {
                dataIncome = LoadFromJSON.GetData(resourcePrefix + "Resources.MarriedIncomeGroup.json");
            }

            if (dataIncome != null && dataIncome.Length > 0)
            {
                pickerIncome.Items.Clear();

                if (pickerMS.SelectedIndex == 0)
                {
                    _singleIncome = new List <DataString> ();
                    foreach (DataString data in dataIncome)
                    {
                        pickerIncome.Items.Add(data.Text);
                        _singleIncome.Add(data);
                    }
                }
                else if (pickerMS.SelectedIndex == 1)
                {
                    _maritalIncome = new List <DataString> ();
                    foreach (DataString data in dataIncome)
                    {
                        pickerIncome.Items.Add(data.Text);
                        _maritalIncome.Add(data);
                    }
                }
            }
        }