Added preferences, and theme changing capabilites. There seems to be a
backstack error but this is probably related to the transition to API11
FragmentManagers instead of the supportFragmentManager. This hopefully
will be solved by the next commit.