     @showArchivedAnnotations = not @showArchivedAnnotations
 
 
+  toggleViewArchivedText : ->
+    verb = if @showArchivedAnnotations then "open" else "archived"
+    "Show #{verb} tracings "
+
+
   toggleViewArchived : (event) ->
     event.preventDefault()
     @toggleState()
     @filter = @getFilterForState()
     @render()
-
-    if (@showArchivedAnnotations)
-      @ui.archiveAllButton.hide()
-    else
-      @ui.archiveAllButton.show()
-
-    verb = if @showArchivedAnnotations then "open" else "archived"
-    @ui.toggleViewArchived.html("Show #{verb} tracings ")
-
-
-


    @childViewOptions.parent = @

    datasetCollection = @model.get("dataSets")
    @listenTo(datasetCollection, "sync", (collection, dataSets) =>
      @templateHelpers.activeDataSets = collection.filter( (dataset) -> dataset.get("isActive") )
      @render()
    )
    datasetCollection.fetch(silent : true)

              method="POST"
              class="form-inline inline-block">
          <select id="dataSetsSelect" name="dataSetName" class="form-control">
            <% activeDataSets().forEach(function(d) { %>
              <option value="<%= d.get("name") %>"> <%= d.get("name") %> </option>
            <% }) %>
          </select>
