                 @search_results.reset []
 
         render_unit: (id) ->
-            unit = @getUnit id
-            if unit?
-                @_select_unit unit
-            else
-                unit = new Models.Unit id: id
-                @setUnit unit
-                unit.fetch
-                    success: =>
-                        @_select_unit unit
+            @_select_unit_by_id id
         render_service: (id) ->
             console.log 'render_service', id
         render_home: ->

            select = (unit) =>
                @selected_units.reset [unit]

            if unit.has('department') and unit.has('municipality')
                select(unit)
            else
                unit.fetch

                        include: 'department,municipality'
                    success: =>
                        select(unit)

        _select_unit_by_id: (id) ->
            unit = @getUnit id
            if unit?
                @_select_unit unit
            else
                unit = new Models.Unit id: id
                @setUnit unit
                unit.fetch
                    data:
                        include: 'department,municipality'
                    success: =>
                        @_select_unit unit

        clearSelectedUnit: ->
            @selected_units.set []
        selectEvent: (event) ->
