Grade average calculator along with conversion from 12 to 4 in Android