Code cleanup

Eclipse replace Build.VERSION_CODES.FROYO to Constant Value: 8 (0x00000008) during compilation
Merge pull request #1 from Dzakus/patch-2

Code cleanup