Removing adaptToDevice call from main.js