[FIX]Used $.when instead of on_record.moved.done