Cleaning up view controller