PlanningActivity : Code Implementation