private static List<LadderModel> LoadLadders()
        {
            List<LadderModel> ladders = new List<LadderModel>();

            for (int i = 0; i < 48; i++)
            {
                LadderModel ladder = new LadderModel();
                ladder.Rung = Constants.Rungs[i].ToString();
                ladder.Bend = Constants.Bends[i].ToString();
                ladder.SitUp = Constants.SitUps[i].ToString();
                ladder.LegLift = Constants.LegLifts[i].ToString();
                ladder.PushUp = Constants.PushUps[i].ToString();
                ladder.Step = Constants.Steps[i].ToString();
                ladder.Count = Constants.Counts[i].ToString();
                ladder.Remainder = Constants.Remainders[i].ToString();

                ladders.Add(ladder);
            }

            return ladders;
        }
        private void rungsListPicker_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            if (this.rungsListPicker.SelectedIndex > -1)
            {
                string rung = ((RungModel)this.rungsListPicker.SelectedItem).Rung;
                int rungNumber;

                bool isNum = Int32.TryParse(rung, out rungNumber);

                if (isNum)
                {
                    if (!this.IsUpdate)
                    {
                        dailyLadder = (from r in app.LadderInfo.Ladders
                                       where r.Rung == rung
                                       select r).First();

                        dailyLadder.DateExercised = ((DateTime)datePicker.Value).ToString("d");

                        this.BendTextBox.Text = dailyLadder.Bend.ToString();
                        this.SitUpTextBox.Text = dailyLadder.SitUp.ToString();
                        this.LegLiftTextBox.Text = dailyLadder.LegLift.ToString();
                        this.PushUpTextBox.Text = dailyLadder.PushUp.ToString();
                        this.StepsTextBox.Text = dailyLadder.Step.ToString();
                        this.CountTextBox.Text = dailyLadder.Count.ToString();
                        this.RemainderTextBox.Text = dailyLadder.Remainder.ToString();

                        RemoveTextBoxHints();
                    }
                }
            }
        }
        private void PhoneApplicationPage_Loaded(object sender, RoutedEventArgs e)
        {
            if (!loaded)
            {
                loaded = true;

                CreateApplicationBar();

                this.rungsListPicker.ItemsSource = app.LadderInfo.Rungs;

                if (this.IsUpdate)
                {
                    parse.Objects.Get<LadderModel>(LadderId, r =>
                    {
                        if (r.Success)
                        {
                            updatedLadder = r.Data;

                            Deployment.Current.Dispatcher.BeginInvoke(() =>
                            {
                                this.rungsListPicker.SelectedIndex = Convert.ToInt32(updatedLadder.Rung);

                                this.datePicker.Value = Convert.ToDateTime(updatedLadder.DateExercised);

                                this.BendTextBox.Text = updatedLadder.Bend;
                                this.SitUpTextBox.Text = updatedLadder.SitUp;
                                this.LegLiftTextBox.Text = updatedLadder.LegLift;
                                this.PushUpTextBox.Text = updatedLadder.PushUp;
                                this.StepsTextBox.Text = updatedLadder.Step;
                                this.CountTextBox.Text = updatedLadder.Count;
                                this.RemainderTextBox.Text = updatedLadder.Remainder;

                                RemoveTextBoxHints();
                            });
                        }
                    });
                }
                else
                {
                    this.datePicker.Value = DateTime.Now;
                }
            }
        }