input to clear after enter or add button clicked