Fixed setup to work in later versions of Android studio
Fixed a bug that would force close the app when values weren't entered.