android: Change state handling to display errors occurring while the app is hidden