Swift to replace Lohan in new romantic comedy