Spans utility class added.
Refactoring: remove method copy from EffectsHandler.
Get span ordered while handling BACK_SPACE.