async void DescUpdate_Clicked(object sender, System.EventArgs e)
        {
            try
            {
                DescriptionEntry.Text = DescEntry.Text;
                if (AssetEntry.Text == null &&
                    DescriptionEntry.Text == null)
                {
                    await DisplayAlert("Error", "Please fill in missing fields.", "OK");
                }
                else if (AssetEntry.Text == null)
                {
                    await DisplayAlert("Error", "Please fill in asset ID/barcode.", "OK");
                }
                else if (DescriptionEntry.Text == null)
                {
                    await DisplayAlert("Error", "Please fill in description.", "OK");

                    //LocationEntry.IsVisible = false;
                    //statusFrameEntry.IsVisible = true;
                }
                else
                {
                    DateTime now = DateTime.Now.ToLocalTime();
                    Dictionary <string, string> dict = new Dictionary <string, string>();
                    dict["asset"]          = AssetEntry.Text;
                    dict["newDescription"] = DescriptionEntry.Text;
                    dict["time"]           = now.ToString();
                    var isSuccess = await cloudStore.EditDescription(dict);

                    if (isSuccess)
                    {
                        descstack.IsVisible = false;
                        await DisplayAlert("Success", "Description is updated.", "Ok");

                        App.Current.MainPage = new MainViewAssetPage();
                        //AssetEntry.Text = string.Empty;
                        //LocationEntry.Text = string.Empty;
                    }
                    else
                    {
                        await DisplayAlert("Error", "Update failed. Please try again.", "Ok");
                    }
                }
            }
            catch (Exception ex)
            {
            }
        }