       else if flag and !updatedFlag
         @saveData baseDetail
         window.removeEventListener 'game.response', @handleRefreshList
-      @setState 
+      @setState
         updatedFlag: flag
     render: ->
       <div>

                  refreshFlag = true

          if refreshFlag
            @setState
              baseSenka: baseSenka
              baseDetail: baseDetail
              isUpdated: isUpdated
            refreshFlag = false

          if @checkUpdate()

      catch e
        error "Write senkaDetail error!#{e}"
    addData: (data) ->
      filename = timeToString data[0], true
      try
        fs.appendFileSync join(APPDATA_PATH, 'hairstrength', "#{@state.memberId}", "#{filename}"), "#{data}\n", 'utf-8'
      catch e
        error "Write senkaData error!#{e}"
    getDataFromFile: (memberId, exp) ->
      filename = timeToString getRefreshTime(''), true
      try
        fs.ensureDirSync join(APPDATA_PATH, 'hairstrength', memberId)
        baseDetail = fs.readJSONSync join(APPDATA_PATH, 'hairstrength', memberId, 'detail.json')
        data = fs.readFileSync join(APPDATA_PATH, 'hairstrength', memberId, "#{filename}"), 'utf-8'
      catch e
        error "Read file form hairstrength error!#{e}"
      if !baseDetail?
