Fixed Bug #161

sir i have fixed the repeat ui state forgotten bug