Fixed bug in UnlockActivity