cancel pending button redone