OK. The service has the constant StartAtBoot.
So I am thinking you set this to true in your new service.
Then check a VAR to see if you really want to start, if so...
Start your activity, if not kill the service
I really don't understand that logic, but, if you just want your app to start when you reboot the device just need to start the Main activity from the service.