adapt event ticks after resuming, save state when pausing