Made a method for removing the text buttons.