   getInitialState: ->
     initVal = if @active() || @props.configName
         config.get @props.configName, (@props.defaultVal || '')
-      else 
+      else
         @props.defaultVal
     myval: initVal
     recording: false

    @props.onNewVal val if @props.onNewVal
  render: ->
    <Row>
      <ButtonGroup justified>
        <Button
          active={false}
          bsStyle="link"
          style={width: '25%', align: 'left', cursor: 'default'} >
          {@props.label}
        </Button>
        <Button
          active={@active()}
          disabled={!@active() || @recording()}
          bsStyle={if !@active() then 'default' else if @enabled() then "success" else "danger"}
          onClick={if @recording() || !@active() then null else @handleClickRecord}
          style={width: '60%'}>
          {@displayText()}
        </Button>
        {
          if @showDisableButton()
            <Button bsStyle="danger"
              onMouseDown={@handleDisable}
              style={width: '15%'}>
              <i className="fa fa-times"></i>
            </Button>
        }
      </ButtonGroup>
    </Row>

mousetrap.prototype.handleKey = (character, modifiers, e) ->

                configName="poi.confirm.quit"
                defaultVal=true />
            else
              <OverlayTrigger placement="top"
                overlay={
                    <Tooltip id="tooltip-confirm-before-exit">
                      {__ 'Set this in the OS X App Menu'}
