Fixed several bugs:
- activities restarted in the wrong way, without cleaning their resources, this has been fixed
- fixed the app title of the debug version
- removed unused attributes from the preferences
- Made the preferenceActivity restart on theme change