stopped the timer after view leaves