Catch parser exception in loop detector button handler.