Set top box maker's reinvention is having a positive effect on cash generation