add clearButtonMode