how to repair and old table lamp and convert to smart charging module