fixed bug #4181: set regenerate to save the state of filled columns

Signed-off-by: Smita Kumari <kumarismita62@gmail.com>