Pre-render key add popup and more

- Pre-render key add popup for faster rendering/transitions
- Make use of the PopupView for cleaner code
- Massive code cleanup on key_add view and controller