Improving service initialization, Intent handling