Fix the "remaining chars" component and transforms into a local widget