First of all, I have permission management installed on my custom rom and this prevents apps from randomly starting up during boot.
However, I have noticed that this is not enough to prevent some applications from running when my wifi is turned on. Why is this a problem? I found my Android seems to lag for a few seconds whilst the wifi is being turned on. So I went searching for a solution but there doesn't appear to be anything other than to use a different set of applications.
I think the problem might have something to do with connectivity monitoring (http://developer.android.com/training/monitoring-device-state/connectivity-monitoring.html & https://stackoverflow.com/questions/7094606/android-stop-start-service-depending-on-wifi-state).
Even after choosing to force stop the application, when I turn on the wifi, the app starts again. I noticed that even the Youtube app does this, although it is less obvious as there are no services running on the services tab. One of my apps does have a service running in the background and was the key reason why I decided it was time to ask if there was a solution to prevent applications from running except when I choose to open them.
Has anyone found any solutions to this problem yet?