generate random ids for selected folders to prevent them from being removed from list. closes #41
merge changes