public boolean stopWeatherServiceIfUpdating(final Object button, final Object label) {
        if (weatherForecastUpdateService !=null){
            if (weatherForecastUpdateService.isUpdating()) {
                weatherForecastUpdateService.cancel(true);
                SwingWorker<Void, String> buttonWorker = new SwingWorker<Void, String>() {
                    protected Void doInBackground() throws Exception {
                        while (true) {
                            Thread.sleep(1L);
                            if (weatherForecastUpdateService.isCanceled()) {
                                ((JButton)button).setEnabled(true);
                                ((JButton)button).setText("Включить");
                                ((JLabel)label).setText("Сервис отключен.");
                                return null;
                            }
                        }
                    }
                };
                buttonWorker.execute();
                return true;
            }
        }
        return false;
    }