fix minor bugs and allow setting only end datetime for announcements