Sample project that allows you to test if the app is entering the background because of a Home button press or Lock button press