I hope you manually saved before you picked up the purple mushrooms. If you don't want to repeat this, before resting, remove the purple mushrooms from your inventory. You can do this by selling them at the underground market at new ark city I believe. Or if you bought the sell anywhere, just go to items and tap that.