Remove marker when changing the value