@Override
 protected void onResume() {
   super.onResume();
   PinProtection.unlock(this);
 }
 @Override
 protected void onPause() {
   super.onPause();
   PinProtection.lock(this);
 }