check if there are apps to start/stop in restart action