Functioning delete buttons, only one glitch remains on graphs