Fix restart app on service crash

@pimnijdam new pull request for develop.