Right now, presidential campaigns focus their attention mostly on the so-called swing states, where the vote could go either way, ignoring a good portion of the electorate. The consequence is that the popular vote totals in any election are not what they might have been had the candidates known they would have to maximize their nationwide vote in order to win.Watch this here
If this solutions seem far away it isn't currently 8 states have passed the NPV (National Popular Vote). which means that these states promise that in an election if a candidate wins one of these states they will not just give the electoral votes to that state winner. The state will give it's electoral votes to the winner of the popular votes. California, Colorado and Rhodes Island have already passed NPV and is sending it over to the governor. Another 10 states have passed NPV in at least one house. The NPV will not go into effect until enough states have adopted NPV that together they hold the majority of the electoral votes.
This isn't perfect, as it doesn't mean that a candidate needs over 50% which is why the NPV should include IRV, but in a political system where there are only 2 major political party this isn't a major issue at the moment, but should never the less be included in the future.
Read more here
Read more about NPV