Home button event
On Android, this gets called immediately after user presses the home button.
On iOS, this gets called when user presses the home button and returns to the app.
Lock button event
Volume button events
Applies both to device and earphone buttons