Fix vibrator initialization (thanks to findbugs)
Clean pmd issues
Use apply instead of commit to handle change in background
buikd.gradle fix deprecated constructor
Clean some unused resources