         @accumulator.batched = !@accumulator.batched
         @setStateFromAccumulator()
 
+    toggleAutoSave: ->
+        @setState({
+            autoSave: !@state.autoSave
+        })
+
     reset: ->
         @accumulator.reset()
         @setStateFromAccumulator()

        @accumulator = new Accumulator(saveData)
        @accumulator.onChange = =>
            @setStateFromAccumulator()
        clock.on('frame', @setStateFromAccumulator, @)
        @setStateFromAccumulator()



    getInitialState: ->
        return {
            autoSave: true
            accumulator: new Accumulator()
            value: 0
            chartData: {
