added flag and req code to pending intent so that it isnt reused