Fix problem with error in timer after disable app