Wrap logic in resumeData()

Signed-off-by: simonewebdesign <hello@simonewebdesign.it>