Fixed bug in grades tableview and added refreshcontroll