@Override
					protected void done() {
						try {
							solveButton.setText("Solve");
							textArea.append(get().toString() + "\n");
						} catch (InterruptedException | ExecutionException ex) {
							ex.printStackTrace();
						}
						textArea.append("Search finished with "
								+ algorithm.toString()
								+ " algorithms "
								+ ((heuristicComboBox.isEnabled()) ? ("with "
										+ heuristic.toString() + " heuristics\n")
										: "") + "in approximately: "
								+ (searchTime / 1000000000.0) + "s");
						if (logBox.isSelected()) {
							try {
								createLogFile(get());
							} catch (InterruptedException | ExecutionException e) {
								e.printStackTrace();
							}
						}
					}