Deleted some redundant code in TimesTrajectBox_LostFocus.
Added _Loaded function which took over some code from MainWindow() so no xaml-errors would occur with initializing too fast.