public static function CustomTitlePresetsToolsAction($action)
 {
     print "<div id=\"accwait\" style=\"font-size: 36px; padding-top: 15px;\"><center><strong>" . __("Wait, it may take a while...", self::PLUGIN_SLUG) . "</strong><br/><br/>";
     print "<img src=\"" . PLUGIN_URL . "assets/loader.gif\"/></div>";
     ob_flush();
     print "<div id=\"message\" class=\"updated\" style=\"font-size: 24px;\"><center><p><strong>";
     switch ($action) {
         default:
             _e("Choose proper action.", self::PLUGIN_SLUG);
             break;
         case 'capitalize':
             $c = GFontsDB::ModifyCapitalizeUpperLowerTitles('capitalize');
             printf(_n("%d title capitalized.", "%d titles capitalized.", $c), $c);
             break;
         case 'upper':
             $c = GFontsDB::ModifyCapitalizeUpperLowerTitles('upper');
             printf(_n("%d title uppercased.", "%d titles uppercased.", $c), $c);
             break;
         case 'lower':
             $c = GFontsDB::ModifyCapitalizeUpperLowerTitles('lower');
             printf(_n("%d title chalowercasednged.", "%d titles lowercased.", $c), $c);
             break;
         case 'upperfirst':
             $c = GFontsDB::ModifyCapitalizeUpperLowerTitles('upfirst');
             printf(_n("%d title changed.", "%d titles changed.", $c), $c);
             break;
         case 'replace':
             $src = isset($_GET['src']) ? $_GET['src'] : null;
             $dst = isset($_GET['dst']) ? $_GET['dst'] : '';
             if ($src == '') {
                 _e("Text to replace could not be empty.", self::PLUGIN_SLUG);
             } else {
                 $c = GFontsDB::ReplaceInTitles($src, $dst);
                 printf(_n("%d title changed.", "%d titles changed.", $c), $c);
             }
             break;
     }
     print "</strong></p></center></div>";
     print "<script type=\"text/javascript\">jQuery('#accwait').hide();</script>";
     ob_flush();
 }