save time filter on rootScope