Make app to work with Gradle and Android Studio