public override void ReverseInit(object returnedData)
        {
            Plan     p = returnedData as Plan;
            Training t = returnedData as Training;

            if (p != null)
            {
                Session.LoggedUser.Plans.Add(p);
                DatabaseMethods.AddPlanToDatabase(p);
            }
            if (t != null)
            {
                if (Session.LoggedUser.Trainings == null)
                {
                    Session.LoggedUser.Trainings = new List <Training>();
                }
                Session.LoggedUser.Trainings.Add(t);
                DatabaseMethods.AddTreningToDatabase(t);
            }

            GetPlanForSpecficDay();
        }