public static async Task AddTile(TileInfo newTile)
        {

            List<TileInfo> myData = await readAllTiles();

            myData.Add(newTile);
            newTile.ID = myData.Count;

            latestID = newTile.ID;

            DataContractJsonSerializer serializer = new DataContractJsonSerializer(typeof(List<TileInfo>));

            using (var stream = await ApplicationData.Current.LocalFolder.OpenStreamForWriteAsync(FILENAME, CreationCollisionOption.ReplaceExisting))
            {
                serializer.WriteObject(stream, myData);
            }

        }
        private void Grid_Loaded(object sender, RoutedEventArgs e)
        {
            TileInfo newTile = new TileInfo();

            foreach(var item in (sender as Grid).Children)
            {
                if(item is TextBox)
                {
                    TextBox t = item as TextBox;
                    if(t.Name == "SubjectTextBox")
                    {
                        name = t;
                    }
                    else if(t.Name == "DetailsTextBox")
                    {
                        desciption = t;
                    }
                }

                if(item is TimePicker)
                {
                    endTime = item as TimePicker;
                }

                if(item is DatePicker)
                {
                    endDate = item as DatePicker;
                }
            }

        }