base state needs to be set before restoring the previous form state