function star_menu_settings()
 {
     if (isset($_POST['gdsr_preview_scan'])) {
         $this->g = $this->gfx_scan();
         update_option('gd-star-rating-gfx', $this->g);
     }
     $gdsr_styles = $this->styles;
     $gdsr_trends = $this->trends;
     $gdsr_options = $this->o;
     $gdsr_root_url = $this->plugin_url;
     $gdsr_gfx = $this->g;
     $gdsr_wpr8 = $this->wpr8_available;
     $extra_folders = $this->extra_folders;
     $safe_mode = $this->safe_mode;
     $wpv = $this->wp_version;
     $wpr8 = $this->wpr8;
     include $this->plugin_path . 'options/settings.php';
     if ($recalculate_articles) {
         GDSRDB::recalculate_articles($gdsr_oldstars, $gdsr_newstars);
     }
     if ($recalculate_comment) {
         GDSRDB::recalculate_comments($gdsr_cmm_oldstars, $gdsr_cmm_newstars);
     }
     if ($recalculate_reviews) {
         GDSRDB::recalculate_reviews($gdsr_review_oldstars, $gdsr_review_newstars);
     }
     if ($recalculate_cmm_reviews) {
         GDSRDB::recalculate_comments_reviews($gdsr_cmm_review_oldstars, $gdsr_cmm_review_newstars);
     }
 }