refactored GenieActivity to use preference persistence