function check_tables() {
   global $wpdb;
   if (!WPI_Functions::tables_exist()) {
     $message = __("The plugin database tables are gone, deactivate and reactivate plugin to re-create them.", WPI);
   }
   WPI_UI::error_message($message);
 }