Fixed Bug #168

sir i have fixed the repeat ui state forgotten bug