Add application-wide pause/unpause functionality.