 
   initSession: (pane, callback) ->
     options     = @getOptions()
-    @appStorage = new AppStorage options.sessionName, '0.1'
+    @appStorage = new AppStorage options.sessionName, '0.2'
 
     @fetchStorage (data) =>
       if data then @restoreSession data, pane

class ApplicationTabView extends KDTabView
  constructor: (options = {}, data) ->

    options.resizeTabHandles             = yes

  updateSession: ->
    if @isSessionEnabled
      @fetchStorage (data) =>
        @getDelegate().emit "UpdateSessionData", @panes, data

  restoreSession: (data, pane) ->
    return if data.latestSessions.length is 0
    @getDelegate().emit "SessionListCreated", pane, @createSessionItems data

  createSessionItems: (data) ->
    items = {}
    date  = new Date()

    data.latestSessions.forEach (sessionId, i) =>
      isSessionActive = yes for aceApp in appManager.appControllers.Ace when aceApp.getView().id is sessionId
