Function run() added to MonitorTask class. It writes the changes on plug-ins states, using the states detected in the last time interval. Related to issue karlitrotski/CodingSpectator/#13 Pair programming with @sesanchez