Finished functionality of DetailViewController