Use onStartCommand event