Recalculate schedule on preview button click