                     li role: 'presentation',
                         button
                             role:    'menuitem'
-                            onClick: @presetYesterday
+                            onClick: @onYesterday
                             t 'daterangepicker presets yesterday'
 
                     li role: 'presentation',
                         button
                             role:    'menuitem'
-                            onClick: @presetLastWeek
+                            onClick: @onLastWeek
                             t 'daterangepicker presets last week'
 
                     li role: 'presentation',
                         button
                             role:    'menuitem'
-                            onClick: @presetLastMonth
+                            onClick: @onLastMonth
                             t 'daterangepicker presets last month'
 
                     li role: 'presentation',
                         button
                             role:    'menuitem'
-                            onClick: @reset
+                            onClick: @onReset
                             t 'daterangepicker clear'
 
                 div className: 'date-pickers',



    filterize: ->
        return if not @state.startDate ^ not @state.endDate

        start = if @state.startDate
            [d, m, y] = @state.startDate.split '/'
            "#{y}-#{m}-#{d}T00:00:00.000Z"

        if @state.isActive and not nextProps.active
            # we don't call reset here because we don't want to filterize
            @setState
                isActive    : false
                startDate   : null
                endDate     : null

        else if nextProps.active and not @props.active
            @setState isActive: true
