Fixed bug causing application to crash when being deployed. Also changed the minimumSdkVersion