Add Preferences

We are making a hash out of navigation and lifecycle, but at least
this does not crash. Sorry. Also, using magic of android.R class.