Prevented the announcements from repeating themselves

Added the variable "lastAnnounce" and a check if the current announcement path is the same as the last announcement path.