private void UpdateCosts()
        {
            Currencies currency = SettingsHelper.GetCurrency();

            AllCosts.ItemsSource = DBFunctions.GetAllCosts();
            double tCost = CostConversions.TotalCost(currency);

            ColourTV(tCost, CstTotal);
            if (tCost < 0)
            {
                tCost = -tCost;
            }
            CstTotal.Text = DefaultVars.currency[(int)SettingsHelper.GetCurrency()] + tCost.ToString(DefaultVars.costFormat);
        }