if (empty($tables)) {
                    if (!empty($acxInfoMessage)) {
                        $acxInfoMessage .= '<br/>';
                    }
                    $acxInfoMessage .= __("Internal Error: We couldn't retrieve the list of tables from the database! Please inform the plug-in author about this error! Thank you!");
                } else {
                    $result = WsdUtil::renameTables($tables, $old_prefix, $new_prefix);
                    // check for errors
                    if (!empty($result)) {
                        if (!empty($acxInfoMessage)) {
                            $acxInfoMessage .= '<br/>';
                        }
                        $acxInfoMessage .= '<span class="acx-notice-success acx-icon-alert-success">' . __('All tables have been successfully updated!') . '</span>';
                        // try to rename the fields
                        $acxInfoMessage .= WsdUtil::renameDbFields($old_prefix, $new_prefix);
                        if (0 < WsdUtil::updateWpConfigTablePrefix($wpConfigFile, $new_prefix)) {
                            $acxInfoMessage .= '<br/><span class="acx-notice-success acx-icon-alert-success">' . __('The <strong>wp-config</strong> file has been successfully updated!') . '</span>';
                        } else {
                            $acxInfoMessage .= '<br/>' . __('The <strong>wp-config</strong> file could not be updated! You have to manually update the <strong>$table_prefix</strong> variable to the one you have specified') . ': ' . $new_prefix;
                        }
                    } else {
                        $acxInfoMessage .= '<br/><strong>' . __('An error has occurred and the tables could not be updated!') . '</strong>';
                    }
                }
                // End if there are tables to rename
            }
            // End checks
        }
    }
    // End if (!empty($_POST['newPrefixInput']))
} else {