       when 1
         window.data.problems = resp.data
 
-loadProblemManagementTab = ->
+refreshProblemList = ->
   $.when(( ->
-    if $("#problem-options").html() == ""
-      $("#problem-options").html renderProblemOptions({problems: window.data.problems})
-
     $("#problem-list").html renderProblemTab({
       renderProblem: renderProblem,
       problemFilter: (problem) ->
         _.all(f(problem) for f in [problemFilter, categoryFilter])
       problems: window.data.problems
-    }))()
-  ).done () ->
+  }))())
+  .done () ->
     $(".problem-state").bootstrapSwitch()
 
 setupQueueFrame = ->
-  $("#main-content").prepend('<div class="col-md-2 fill-container" id="problem-aux-pane"><div id="problem-options"></div></div>')
+  $("#main-content").prepend """
+    <div class="col-md-2 fill-container" id="problem-aux-pane">
+      <div id="problem-sort-options"></div>
+      <div id="problem-category-options"></div>
+    </div>
+  """
   $("#main-content>.container").addClass("col-md-10")
 
 $ ->

    loadManagementBase()
    getProblemData()
  ).done () ->
    loadProblemManagementTab()
    $(".problem-category-state").bootstrapSwitch()
    $(".problem-category-state").on "switchChange.bootstrapSwitch", () ->
      loadProblemManagementTab()
    $("#problem-search").on "input", () -> loadProblemManagementTab()

renderManagementTabs = _.template($("#management-tabs-template").remove().text())
renderProblemTab = _.template($("#problem-tab-template").remove().text())
renderProblem = _.template($("#problem-template").remove().text())
renderCategoryOptions = _.template($("#problem-category-options-template").remove().text())

@data = {}

