This piece of code is inside shake event's scope,
if(i % 3) {
self.Label.text = [NSString stringWithFormat:@"%d", y];
y += 1;
}
whenever i reaches 3,
y += 1 executes.
When I shake it again,
y value adds another 1
i is now equal to 4
So now i = 4 and y = 2, I get the idea why y is adding another 1 but I just can't figure out how to avoid it, please help.