Add isApplicationInBackground for AppUtils