Implemented a message to the user when the data currently showed has been updated.
The message disappears automatically after two seconds.
Some code cleanup.