resumeState setting - not working yet