change task_id to number if given as string

We can merge this if needed. But Android is fixing this from their end as well.