Update build.gradle, and location card utilities
Fix location card issues