add OnHandleIntent as lifecycle event for services