Fixed issue where interval continues after change of view.