Added code for clear button