Updated gradle version
Added methods to cancel and remove pending items