     @setState {filterPaneShow}
     config.set "plugin.Akashic.#{@props.contentType}.filterPaneShow", filterPaneShow
   handleStatisticsPaneShow: ->
-    {statisticsPaneShow} = @state
+    {statisticsPaneShow, searchArgv} = @state
     statisticsPaneShow = not statisticsPaneShow
+    if statisticsPaneShow
+      if @currentDataVersion isnt @inputDataVersion
+        @currentDataVersion = @inputDataVersion
+        @refreshSearchResult searchArgv, @props.data, @props.dataAfterFilter
     @setState {statisticsPaneShow}
     config.set "plugin.Akashic.#{@props.contentType}.statisticsPaneShow", statisticsPaneShow
   handleClickCheckbox: (index) ->

    for index in [0..searchArgv.length-1]
      searchArgv[index].filterKey = @refs["search#{index}"].getValue()
      searchArgv[index].searchBaseOn = parseInt @refs["baseOn#{index}"].getValue()
    @refreshSearchResult searchArgv
  addSearchLine: ->
    {searchArgv} = @state
    searchArgv.push

    @setState
      filterPaneShow: filterPaneShow
      statisticsPaneShow: statisticsPaneShow
    @refreshSearchResult @state.searchArgv, @props.data, @props.dataAfterFilter
    @refreshCompareResult @state.compareArgv, @props.data, @props.dataAfterFilter, @state.searchArgv
  componentWillReceiveProps: (nextProps)->
    @inputDataVersion += 1
    if @state.statisticsPaneShow
      @currentDataVersion = @inputDataVersion
      @refreshSearchResult @state.searchArgv, nextProps.data, nextProps.dataAfterFilter
  componentWillUpdate: (nextProps, nextState)->
    if nextState.statisticsPaneShow
      @refreshCompareResult nextState.compareArgv, nextProps.data, nextProps.dataAfterFilter, nextState.searchArgv     
  render: ->
    <div className='akashic-records-settings' className={if @state.filterPaneShow or @state.statisticsPaneShow then "tap-pane-show" else "tab-pane-hidden"}>
      <Grid>
