Fixed detail view display issue by using prepareForSegue to pass data to detail view and display from its controller