Register callback to execute when the application goes to background and foreground

Printable View