Fixed Bug with Configuration and Reformat build.gradle