private void resaveParamsCitySelected(SessionRequestContent request) throws ServletLogicException {
        String page = (String) request.getSessionAttribute(JSP_PAGE);
        String editDirectionPage = ConfigurationManager.getProperty("path.page.editdirection");
        String searchingPage = ConfigurationManager.getProperty("path.page.tours");
        if (page != null) {
            if (page.equals(editDirectionPage)) {
                new DirectionCommand().resaveParamsSaveDirection(request);
            } else if (page.equals(searchingPage)) {
                new TourCommand().resaveParamsSearchTour(request);
            }
        }
    }