Mobile app designed to prevent pregnancy gets EU approval