Code Style

Added some code styling :P
Added some notes on the code
Changed the Interface in the dialog fragment to be passed in the
constructor, better for OOP and encapsulations
I like it that every one is using my Pref class :)