Cleanup in main view controller