Support renaming or removing memo/directory
Slightly refactor code
Refresh memos after adding or removing memo/directory
Show memo with unsupported type