read booleans should also be recognized in userdefaults
Merge pull request #13 from jeroenj/booleans

Booleans should be correctly recognized in userdefaults