Fix predmetDetailPage.

Case when there is no students or teachers.
Ten messageBox nemusis returnovat, to len aby sa povedzme nezavrela aplikacia a podobne.