Updated for on_folder_selection() hook.
  Updated for on_folder_selection().