/// <summary>
        /// Configure the application by setting up the DebugLog, the titel bar and checking, reading and writing the configuration files.
        /// </summary>
        private async Task ConfigureApp()
        {
            DebugLogSetup();
            TitelBarSetup();

            if (await BridgeConfigurationFile.CheckForBridgeConfiguration())
            {
                if (!await BridgeConfigurationFile.ReadBridgeConfigurationFile())
                {
                    await BridgeConfigurationFile.UpdateBridgeConfigurationFile();
                }
            }
            else
            {
                await BridgeConfigurationFile.CreateBridgeConfiguration();
            }

            if (await ConfigurationFile.CheckForConfiguration())
            {
                if (!await ConfigurationFile.ReadConfigurationFile())
                {
                    await ConfigurationFile.UpdateConfigurationFile();
                }
            }
            else
            {
                await ConfigurationFile.CreateConfiguration();
            }
        }