use old keyguard code to reslove lockscreen bug and reslove some ui bug