Adding attributes to session state

Thanks Marisa. Yeah, I got the latest version of Streamlit. I found out that the error message appears only if I try to run it not in terminal (by ctrl+shift+F10 in Pycharm), but when I try to run it with “streamlit run …py” in terminal, it works fine without any errors appearing.