Private key UI fixes.

The secret key shouldn't be visible on the screen by default to prevent shoulder surfing attacks. So I added a button that toggles visibility of the secret key. Additionally the secret key is kept in the DOM only while it is visible.