Fix notification not getting dismissed correctly on startup