Fix view disappearing on orientation change, closes #53.
Active view type is now saved across orientation changes, closes #54.
Fix memory leak with BroadcastReceiver not being unregistered.