Problem with nebula smart pad

i just posted a fix for this issue over in the thread https://forum.creality.com/t/nebula-pad-not-working-after-restart/27706/46

its still pending moderator approval though so idk when it will show up.