How to stop apps from opening on startup on Windows and Mac