New app could be alternative to birth control pill