Stopping timer in every page, bug fixing