   on_current_note_switched: (listener) =>
     @current_note_switched_listeners.push(listener)
   current_note_switched: (new_note_guid) =>
-    localStorageService.set(@SETTINGS_KEY.CURRENT_NOTE_GUID, new_note_guid)
+    localStorageService.set(@STORAGE_KEY.CURRENT_NOTE_GUID, new_note_guid)
 
     for l in @current_note_switched_listeners
       l(new_note_guid)

  on_current_note_guid_modified: (listener) =>
    @current_note_guid_modified_listeners.push(listener)
  current_note_guid_modified: (old_guid, new_guid) =>
    localStorageService.set(@SETTINGS_KEY.CURRENT_NOTE_GUID, new_guid)

    for l in @current_note_guid_modified_listeners
      l(old_guid, new_guid)


    # get note list from remote
    noteManager.fetch_note_list()

    # get notebook list from local
    noteManager.reload_local_notebook_list()

    # get notebook list from remote
    noteManager.fetch_notebook_list()
