Fix periodic refreshes during edit states