Functional.

Store preferences in key chain
Remove hardcoded IDs etc.