finished addingfolder functionality