Code for refreshing sidebar after create document/folder command

@gyst , Code for the full cycle of document/folder creation should now
be in place.