To resend intent when service restarts

Previously when application was removed from recent application list  the service restarted. But the intent was null that led to a nullpointer exception. Adding START_REDELIVER_INTENT gives the onStartCommand the intent again when service restarted solving the issue.