private void addButton_Click(object sender, RoutedEventArgs e)
        {
            var type = (Types)comboBox.SelectedIndex;
            var item = new ListBoxItem();

            item.Content = input.Text;

            item.Foreground = Brushes.White;
            list.Items.Add(item);
            updateChecker.AddObject(input.Text, type);
        }