changed compiler setting from java 1.7 to java 1.6 because of android issues