Pressed a physical button to nodemcu then board go offline

{Reduced title and removed unformatted code - Moderator)

Instead of a super long title, incorrect category, and nothing in your post but unformatted codeā€¦ How about a simple relevant title, some clear information in the body of the post and properly formatted code :stuck_out_tongue: