     @appStorage        = new AppStorage 'Activity', '1.0'
     @isLoading         = no
     @mainController    = @getSingleton 'mainController'
-
-    if @mainController.appIsReady then @putListeners()
-    else @mainController.on 'FrameworkIsReady', => @putListeners()
+    @lastTo            = null
+    @lastFrom          = null
+
+    # if @mainController.appIsReady then @putListeners()
+    # else @mainController.on 'FrameworkIsReady', => @putListeners()
 
     @status = @getSingleton "status"
     @status.on "reconnected", (conn)=>
       if conn && conn.reason is "internetDownForLongTime"
-        @refresh()
-      else
-        @fetchSomeActivities()
-
-  putListeners:->
+      then @refresh()
+      else @fetchSomeActivities()
+
+  loadView:->
     activityController = @getSingleton('activityController')
 
     # Do we really need this? ~ GG

    activityController.once "ActivityListControllerReady", (controller)=>
      @attachEvents controller
      frontApp = @getSingleton('appManager').getFrontApp()
      @populateActivity() if frontApp?.name is "Activity"

  loadView:->
    @populateActivity() if @listController

  resetAll:->

    delete @lastTo
    delete @lastFrom

    @listController.resetList()
    @listController.removeAllItems()


  # Refreshes activity feed, used when user has been disconnected
  # for so long, backend connection is long gone.
  refresh:->
    # prevents multiple clicks to refresh from interfering
    return  if @isLoading

