Added a boolean to switch between localhost and heroku as data providers on mobile.