"resolved #45"
added conditional statement if API 9 or lower us commit else use apply.
small refactored after code inspection.
Merge branch 'master' of github.com:Pixplicity/EasyPreferences