Separetaded methods for the detail view and the list view. That makes it possible to try and catch error for the view only on time. It also makes the code easier to read and maintain.