Remove method not working

I am making a minesweeper game. As you will click on any tile, it will show up two options, flag it or break it. Whichever you choose , after clicking on any one the options should vanish, but they aren’t. Help!
link to codepen