How to add a clear button?