@Override
                    public void changed(ObservableValue<? extends Tab> ov, Tab t, Tab t1) {
                        if (t1 == marketIndices) {
                            borderPane.setCenter(marketIndicicesView.getPane());
                        } else if (t1 == companies) {
                            borderPane.setCenter(companiesView.getPane());
                        } else if (t1 == currencies) {
                            borderPane.setCenter(currenciesView.getPane());
                        } else if (t1 == goods) {
                            borderPane.setCenter(goodsView.getPane());
                        }
//                        } else if (t1 == currenciesCorrelations) {
//                            borderPane.setCenter(currenciesCorrelationView.getPane());
//                        }
                    }