added edit button (issue 7) and fixed folder path bug (issue 3)