Fix logic for initializing and rendering views
Merge pull request #297 from theponti/add-folder-delete

Fix logic for initializing and rendering views