Changed class Preferences to interface Preferences
Added SettingsActivity
Improved some pieces of source
Improved SharedPreference management
Improved activities lifecycle handling