private void ApplyTheme()
{
var themeName = BusinessCats.Properties.Settings.Default.ThemeName;
var appTheme = ThemeManager.GetAppTheme(themeName);
if (appTheme != null)
{
ThemeManager.ChangeAppStyle(Application.Current,
ThemeManager.GetAccent("Blue"),
appTheme);
}
}