Fix refresh timer to stop when navigate to other pages