On input-pending during refresh, keep previous state

Fixes ankurdave/color-identifiers-mode#2.