Fixed bug with screen rotation in GraphActivity