Fixed a small bug where the pin would not load after the app was restarted