Reset ball on game

I managed to do something but maybe it is wrong. I simply remove the
timer to lose when the ball is not moving. It works but maybe something
else is not.