Handle communication error and loading on spinner loading and gets the
rooms, for the selected department