AlgoExplore: added clear and cancel buttons