setDetails() and addFolders() methods implemented in noteinputgui