App restart fix