listener for clear context buttons