Smaller registerOnClickListeners func

+For loop to register onclicks
+All buttons leads to detailview (testing purpose)