Updated configureView() and viewWillDisappear() in DetailViewController and fixed MasterViewController