Change repeat flag