Fixed NPE after creating an announcement successfully