dev: added prefs activity
refactoring