add handler for device back/menu button