Make foldable settings in EncryptActivity a separate widget

Related to #463
Tested in android 4.1.2, 4.4.1 and 2.3.3. I also tested if it works properly when the screen is turned off and then turned on again and when the orientation changes.
Works as expected although I'd suggest that you test it as well.