Optimized ResourceDetailView's constructor a bit

Another unimportant update. :-) Feel free to ignore if desired.