 
   toggleTagsDisplay: (ev) ->
     @setState(displayTags: not @state.TagsFormats)
+
+  onSelection: ->
+    @setState(isSelected: not @state.isSelected)
+
+  onDetailsClick: (ev, exercise) ->
+    console.warn "Exercise details was clicked"
 
   render: ->
     {displayFeedback, displayFormats, displayTags} = @state

    displayFeedback: false
    displayFormats:  false
    displayTags: false

  toggleFeedbackDisplay: (ev) ->
    @setState(displayFeedback: not @state.displayFeedback)

      'fa-square-o':  not displayTags

    <ExercisePreview exercise={exercisePreviewStub}
      onSelection={@onSelection}
      onDetailsClick={@onDetailsClick}
      displayFormats={displayFormats}
      displayAllTags={displayTags}
      isSelected={@state.isSelected}
      displayFeedback={displayFeedback}
    >
      <button className="toggle" onClick={@toggleFeedbackDisplay}>
