Extracted hardcoded preference keys.

Signed-off-by: Mattias Markehed <ibaton@3hou.se> (github: ibaton)
Merge pull request #14 from ibaton/CleanUp

Extracted hardcoded preference keys.