Fixed bug where the app crashes

if there are no courses associated with the university (or) category