Once you select the Apply button after removing the photo’s background, you cannot undo the changes you made. You’ll have to start over with removing the background first and using the Erase and Restore brushes respectively.