     @property 'selectedAccount',
       get: -> @_selectedAccount
       set: (n) ->
-        if @_selectedAccount isnt n
-          @_selectedAccount = n
-          @activities = @_data[n.url].activities
-          @queries    = @_data[n.url].queries
-          @fireEvent(@SELECTED_ACCOUNT_CHANGED, @, n)
+        return if @_selectedAccount is n
+        @_selectedAccount = n
+        @activities = @_data[n.url].activities
+        @queries    = @_data[n.url].queries
+        @fireEvent(@SELECTED_ACCOUNT_CHANGED, @, n)
         Log.debug("selectedAccount set: " + n.url)
 
     # selected project.

    @property 'selectedProject',
      get: -> @_selectedProject
      set: (n) ->
        if @_selectedProject isnt n
          @_selectedProject = n
          @selectedAccount = @_data[n.url].account
          @fireEvent(@SELECTED_PROJECT_CHANGED, @, n)
        Log.debug("selectedProject set")

    # selected ticket.

    @property 'selectedQuery',
      get: -> @_selectedQuery
      set: (n) ->
        return if @_selectedQuery is n
        @_selectedQuery = n
        @fireEvent(@SELECTED_QUERY_CHANGED, @, n)

    # query string for projects
    _projectQuery: ""
