fix for application phase changes: stop to restart