There is a way around it, if it's important enough: in your main app, use your checkbox as mentioned, and save the results in a data file. Use a second app that always starts on boot up and checks this data file and then determines to also start your main app or not. But I don't know if you want to have second app or not.