stop application on bundle stop