public Contacts()
 {
     this.InitializeComponent();
     this.navigationHelper = new NavigationHelper(this);
     this.navigationHelper.LoadState += navigationHelper_LoadState;
     this.navigationHelper.SaveState += navigationHelper_SaveState;
 }
 public MyFiles()
 {
     //Create a new instance of the FilesViewModel class
     this.InitializeComponent();
     this.navigationHelper = new NavigationHelper(this);
     this.navigationHelper.LoadState += navigationHelper_LoadState;
     this.navigationHelper.SaveState += navigationHelper_SaveState;      
 }
        public ItemPage()
        {
            this.InitializeComponent();

            this.navigationHelper = new NavigationHelper(this);
            this.navigationHelper.LoadState += this.NavigationHelper_LoadState;
            this.navigationHelper.SaveState += this.NavigationHelper_SaveState;
        } 
 public PivotPage()
 {
     this.InitializeComponent();
     messages = new StringBuilder();
     iMessages = new ObservableCollection<ChatMessage>();
     iMessages.CollectionChanged += Messages_CollectionChanged;
     this.NavigationCacheMode = NavigationCacheMode.Required;
     this.DataContext = App.CurrentUser;
     this.navigationHelper = new NavigationHelper(this);
     this.navigationHelper.LoadState += this.NavigationHelper_LoadState;
     this.navigationHelper.SaveState += this.NavigationHelper_SaveState;
     //readMessage();
     facebook();
     instagram();
     map();
     GetTweets();
 }