Fix usage of BuildConfig

BuildConfig class wasn't being properly imported, and the PACKAGE_NAME
constant was renamed to APPLICATION_ID.