Saving parts' events

Has been added OPENED, HIDDEN, VISIBLE as parts' events.
Related to issue karlitrotski/CodingSpectator/#10.
Pair programming with @JurajKubelka