private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            //Import configuration into temporary variables
            lDay = new ObservableCollection <Day>(UserData.getDays());

            //Intitialize user control values
            lvDays.ItemsSource = lDay;
        }
        public static void WorkdayEnd(DateTime EndTime)
        {
            //Store the ended workday in the workday history
            List <Day> lTemp = UserData.getDays();

            lTemp.Add(new Day(UserData.getWorkTimeStart(), EndTime));
            UserData.setDays(lTemp);

            //Set all workday related parameters to Zero
            UserData.setWorkTimeStart(DateTime.MinValue);
        }