Added Observer pattern in order to update the Activity that is interested in events of the system