Detects when you stop the project or not.
If you want to use this, please give me credit. If you are copying the code, still, give me credit.