use latest gradle & use 'com.android.application' plugin instead of 'android'
apply() handles writing data to Shared Prefs storage in background