Fixed bug: PIN modal is shown every time on startup; PIN modal does not animate while going to background, but is always there once app is in the background