commented out the use of preferences in Main Activity so that the
emulation will run