Made the clear all button work.