PIN: Replaced AlertDialog with Toast, request PIN 10s after leaving app

- fix #76 
- fix #257 
Trailing whitespace