Optimized ResourceDetailView's constructor a bit