public function getStateAction()
 {
     $frontendButtonDisabled = false;
     if (SearchPhp_Plugin::frontendCrawlerRunning() or SearchPhp_Plugin::frontendCrawlerScheduledForStart() or !SearchPhp_Plugin::frontendConfigComplete()) {
         $frontendButtonDisabled = true;
     }
     $message = str_replace("------------------------------------------- ", "<br/>", SearchPhp_Plugin::getPluginState());
     $frontendStopButtonDIsabled = false;
     if (!SearchPhp_Plugin::frontendConfigComplete() or !SearchPhp_Plugin::frontendCrawlerRunning() or SearchPhp_Plugin::frontendCrawlerStopLocked()) {
         $frontendStopButtonDIsabled = true;
     }
     $this->_helper->json(array("message" => $message, "frontendButtonDisabled" => $frontendButtonDisabled, "frontendStopButtonDisabled" => $frontendStopButtonDIsabled));
 }
?>
,
                columns:2,
                bodyBorder:false,
                border: false,
                frame:false,  
                items: [{ 
                    xtype:'button', 
                    hideLabel: true,
                    text: '<?php 
echo $this->translate->_("searchphp_start_crawler");
?>
',
                    id: 'startFrontendCrawler',  
                    disabled: <?php 
if (SearchPhp_Plugin::frontendCrawlerRunning() or SearchPhp_Plugin::frontendCrawlerScheduledForStart() or !SearchPhp_Plugin::frontendConfigComplete()) {
    echo 'true';
} else {
    echo 'false';
}
?>
,
                    listeners: {
                        click: function(button, event) {
                            Ext.Ajax.request({
                                url: "/plugin/SearchPhp/admin/start-frontend-crawler",
                                method: "get"
                            });
                            button.setDisabled(true);
                            Ext.Ajax.request({
                                url: "/plugin/SearchPhp/admin/get-state",