Added backgrounding for Android.