Fixed keyguard crash on TabletUI

Change-Id: Ibb98cc70c95d5c2cd5feb98c210dcc32fe3d27cc