Update announcements_controller.rb

first_or_create needs to do a where in order to determine if the record should be created otherwise any announcement other than the first one would not be able to be marked read.