Renamed get_non_essential_apps method. Modified null check per code review.