Fix mode-switching in folder list.