Added button2 code to AddGradesActivity